From 77082b5cd9c095af6fc289ed24b284c4b738a59d Mon Sep 17 00:00:00 2001 From: Ivan Chen Date: Fri, 23 Apr 2021 15:34:12 -0400 Subject: sending fcm token to stream --- src/routes/Routes.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/routes') 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); } }); -- cgit v1.2.3-70-g09d2