From b616a6f6f93302b3bfdaa910048c4e0b00dc1490 Mon Sep 17 00:00:00 2001 From: aeroreyna Date: Wed, 28 Dec 2022 23:02:46 -0500 Subject: [PATCH] Fix push notifs --- notifications.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/notifications.js b/notifications.js index 6224435..fffcbbe 100644 --- a/notifications.js +++ b/notifications.js @@ -30,7 +30,7 @@ const sendPushNotification = async (profileToken, body, data) => { let messages = []; // Construct a message (see https://docs.expo.io/push-notifications/sending-notifications/) messages.push({ - to: pushToken, + to: pushTokens, sound: 'default', body: body, data: data,