From 054ff5207f79a5b043e80db29ae8d3e00f41093c Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?V=C3=A1clav=20Gr=C3=B6hling?= Date: Thu, 31 Oct 2024 16:00:30 +0100 Subject: [PATCH] fix: wrong argument of a function call --- src/backend/NotificationEvents.res | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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}) }