Fix push notifs
This commit is contained in:
@@ -30,7 +30,7 @@ const sendPushNotification = async (profileToken, body, data) => {
|
|||||||
let messages = [];
|
let messages = [];
|
||||||
// Construct a message (see https://docs.expo.io/push-notifications/sending-notifications/)
|
// Construct a message (see https://docs.expo.io/push-notifications/sending-notifications/)
|
||||||
messages.push({
|
messages.push({
|
||||||
to: pushToken,
|
to: pushTokens,
|
||||||
sound: 'default',
|
sound: 'default',
|
||||||
body: body,
|
body: body,
|
||||||
data: data,
|
data: data,
|
||||||
|
|||||||
Reference in New Issue
Block a user