Правка и очистка

This commit is contained in:
Халимов Рустам
2026-03-16 15:22:29 +03:00
parent 1dd53e1c6a
commit 239b08b566
9 changed files with 19 additions and 30 deletions
+4
View File
@@ -64,6 +64,10 @@ class ApiClient {
return this.request<{ user: User }>('/auth/me');
}
async getConfig() {
return this.request<any>('/config');
}
// \u041f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u0442\u0435\u043b\u0438
async searchUsers(query: string) {
return this.request<UserPresence[]>(`/users/search?q=${encodeURIComponent(query)}`);