just another day
This commit is contained in:
@ -36,7 +36,6 @@ export const sendPushNotification = async(expoPushToken: string | null, notifica
|
||||
body: JSON.stringify(message),
|
||||
});
|
||||
const result = await response.json();
|
||||
console.log('Push notification sent:', result);
|
||||
} catch (error) {
|
||||
console.error('Error sending push notification:', error);
|
||||
Alert.alert('Error', 'Failed to send push notification.');
|
||||
|
Reference in New Issue
Block a user