Merge branch 'master' into MM-50966-in-product-expansion

Этот коммит содержится в:
Conor Macpherson
2023-03-31 13:31:17 -04:00
коммит произвёл GitHub
родитель 62b46a630d 9570972571
Коммит 545d35e9cf
301 изменённых файлов: 10713 добавлений и 12417 удалений

Просмотреть файл

@@ -1783,9 +1783,10 @@ export default class Client4 {
);
};
getChannelStats = (channelId: string) => {
getChannelStats = (channelId: string, excludeFilesCount = false) => {
const param = excludeFilesCount ? `?exclude_files_count=${excludeFilesCount}` : '';
return this.doFetch<ChannelStats>(
`${this.getChannelRoute(channelId)}/stats`,
`${this.getChannelRoute(channelId)}/stats${param}`,
{method: 'get'},
);
};
@@ -4262,7 +4263,7 @@ export default class Client4 {
}
cwsAvailabilityCheck = () => {
return this.doFetch<StatusOK>(
return this.doFetchWithResponse(
`${this.getCloudRoute()}/check-cws-connection`,
{method: 'get'},
);