From 4e24b7cd82cb57265925b76c2e3eff11628c7e18 Mon Sep 17 00:00:00 2001 From: Gerzon Z Date: Fri, 18 Feb 2022 17:49:46 -0400 Subject: [PATCH] [FIX] getRooms request using param with wrong name (#3761) --- app/lib/methods/getRooms.ts | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/app/lib/methods/getRooms.ts b/app/lib/methods/getRooms.ts index e4f369975..8d7f89397 100644 --- a/app/lib/methods/getRooms.ts +++ b/app/lib/methods/getRooms.ts @@ -6,8 +6,12 @@ export default function (updatedSince: Date) { if (updatedSince) { const updatedDate = updatedSince.toISOString(); // TODO: missing definitions from server - // @ts-ignore - return Promise.all([sdk.get('subscriptions.get', { updatedDate }), sdk.get('rooms.get', { updatedDate })]); + return Promise.all([ + // @ts-ignore + sdk.get('subscriptions.get', { updatedSince: updatedDate }), + // @ts-ignore + sdk.get('rooms.get', { updatedSince: updatedDate }) + ]); } // TODO: missing definitions from server // @ts-ignore