SHA256
Доработать UI и счётчики
This commit is contained in:
@@ -2944,6 +2944,12 @@ export class AuthService {
|
||||
return response.payload || {};
|
||||
}
|
||||
|
||||
async getUserCounters() {
|
||||
const response = await this.ws.request('GetUserCounters', {});
|
||||
if (response.status !== 200) throw opError('GetUserCounters', response);
|
||||
return response.payload || {};
|
||||
}
|
||||
|
||||
async getNotifications(countsOnly = false) {
|
||||
const response = await this.ws.request('GetNotifications', countsOnly ? { countsOnly: true } : {});
|
||||
if (response.status !== 200) throw opError('GetNotifications', response);
|
||||
|
||||
Reference in New Issue
Block a user