Merge branch 'master' into MM-50966-in-product-expansion
Этот коммит содержится в:
@@ -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'},
|
||||
);
|
||||
|
||||
Ссылка в новой задаче
Block a user