[FIX] getRooms request using param with wrong name (#3761)
This commit is contained in:
parent
8bb248890c
commit
4e24b7cd82
|
@ -6,8 +6,12 @@ export default function (updatedSince: Date) {
|
||||||
if (updatedSince) {
|
if (updatedSince) {
|
||||||
const updatedDate = updatedSince.toISOString();
|
const updatedDate = updatedSince.toISOString();
|
||||||
// TODO: missing definitions from server
|
// TODO: missing definitions from server
|
||||||
|
return Promise.all([
|
||||||
// @ts-ignore
|
// @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
|
// TODO: missing definitions from server
|
||||||
// @ts-ignore
|
// @ts-ignore
|
||||||
|
|
Loading…
Reference in New Issue