Skip to content

Commit

Permalink
Fix query
Browse files Browse the repository at this point in the history
  • Loading branch information
iamacook committed Jul 24, 2024
1 parent b59e7f7 commit b9354c9
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -163,7 +163,7 @@ export class NotificationsDatasource implements INotificationsDatasource {
cloud_messaging_token: string;
}>
>`
SELECT a.address, nd.device_uuid, nd.cloud_messaging_token
SELECT a.address, pnd.device_uuid, pnd.cloud_messaging_token
FROM notification_subscriptions ns
JOIN accounts a ON ns.account_id = a.id
JOIN push_notification_devices pnd ON ns.push_notification_device_id = pnd.id
Expand Down

0 comments on commit b9354c9

Please sign in to comment.