diff options
author | Ivan Chen <ivan@tagg.id> | 2021-04-23 15:34:12 -0400 |
---|---|---|
committer | Ivan Chen <ivan@tagg.id> | 2021-04-23 15:34:12 -0400 |
commit | 77082b5cd9c095af6fc289ed24b284c4b738a59d (patch) | |
tree | b70579517293f5cfaac070180edc044485e5311a /src/routes/Routes.tsx | |
parent | 285d00db1e63342fad890edc2e1fcd09f0301cbd (diff) |
sending fcm token to stream
Diffstat (limited to 'src/routes/Routes.tsx')
-rw-r--r-- | src/routes/Routes.tsx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/routes/Routes.tsx b/src/routes/Routes.tsx index c2efbb15..384021bc 100644 --- a/src/routes/Routes.tsx +++ b/src/routes/Routes.tsx @@ -52,7 +52,7 @@ const Routes: React.FC = () => { useEffect(() => { if (userId) { fcmService.setUpPushNotifications(); - fcmService.sendFcmTokenToServer(); + fcmService.sendFcmTokenToServer(chatClient); } }); |