aboutsummaryrefslogtreecommitdiff
path: root/vnext/src/api
diff options
context:
space:
mode:
authorGravatar Vitaly Takmazov2018-08-27 14:35:38 +0300
committerGravatar Vitaly Takmazov2023-01-13 10:37:53 +0300
commit59af8a28a0f4b808cf44fbb22fd900bd98e23f0e (patch)
tree1ff9070a2d980bf002dc5cbbf8c742e07a413a76 /vnext/src/api
parent31a7bfa68d8add95af0ff2548590165c289d4c19 (diff)
/settings updates
Diffstat (limited to 'vnext/src/api')
-rw-r--r--vnext/src/api/index.js4
1 files changed, 4 insertions, 0 deletions
diff --git a/vnext/src/api/index.js b/vnext/src/api/index.js
index efa57cf1..90c8b15e 100644
--- a/vnext/src/api/index.js
+++ b/vnext/src/api/index.js
@@ -31,6 +31,10 @@ export function me(username = '', password = '') {
});
}
+export function info(username) {
+ return client.get(`/info/${username}`);
+}
+
export function getChats() {
return client.get('/groups_pms');
}