[FIX] getRooms request using param with wrong name (#3761)

This commit is contained in:
Gerzon Z 2022-02-18 17:49:46 -04:00 committed by GitHub
parent 8bb248890c
commit 4e24b7cd82
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 6 additions and 2 deletions

View File

@ -6,8 +6,12 @@ export default function (updatedSince: Date) {
if (updatedSince) {
const updatedDate = updatedSince.toISOString();
// TODO: missing definitions from server
return Promise.all([
// @ts-ignore
return Promise.all([sdk.get('subscriptions.get', { updatedDate }), sdk.get('rooms.get', { updatedDate })]);
sdk.get('subscriptions.get', { updatedSince: updatedDate }),
// @ts-ignore
sdk.get('rooms.get', { updatedSince: updatedDate })
]);
}
// TODO: missing definitions from server
// @ts-ignore