MM-48915 - Calls: Add mobilev2 param to two requests (#6845)

This commit is contained in:
Christopher Poile 2022-12-07 14:31:22 -05:00 committed by GitHub
parent 27dcc95266
commit ae56415c4b
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -36,14 +36,14 @@ const ClientCalls = (superclass: any) => class extends superclass {
getCalls = async () => {
return this.doFetch(
`${this.getCallsRoute()}/channels`,
`${this.getCallsRoute()}/channels?mobilev2=true`,
{method: 'get'},
);
};
getCallForChannel = async (channelId: string) => {
return this.doFetch(
`${this.getCallsRoute()}/${channelId}`,
`${this.getCallsRoute()}/${channelId}?mobilev2=true`,
{method: 'get'},
);
};