Fix push notifs
This commit is contained in:
@@ -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,
|
||||
|
||||
Reference in New Issue
Block a user