diff --git a/src/backend/NotificationEvents.res b/src/backend/NotificationEvents.res index 108ed0b..215f9ab 100644 --- a/src/backend/NotificationEvents.res +++ b/src/backend/NotificationEvents.res @@ -39,5 +39,5 @@ let useDispatchFreshKeg = () => { let useUpdateNotificationToken = () => { let functions = Reactfire.useFunctions() let updateDeviceToken = Firebase.Functions.httpsCallable(functions, "updateNotificationToken") - (deviceToken: string) => updateDeviceToken({deviceToken}) + (deviceToken: string) => updateDeviceToken({deviceToken: deviceToken}) }