Skip to content

Commit

Permalink
fix: wrong argument of a function call
Browse files Browse the repository at this point in the history
  • Loading branch information
czabaj committed Oct 31, 2024
1 parent 68f07a0 commit 054ff52
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/backend/NotificationEvents.res
Original file line number Diff line number Diff line change
Expand Up @@ -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})
}

0 comments on commit 054ff52

Please sign in to comment.