summaryrefslogtreecommitdiffstats
path: root/webapp/client
diff options
context:
space:
mode:
authorenahum <nahumhbl@gmail.com>2016-09-06 15:48:43 -0300
committerGitHub <noreply@github.com>2016-09-06 15:48:43 -0300
commit35b816b92217237de922c928a6623b5ac426655a (patch)
treeadf7e7a96bd4b50aae0b295f94f8501643e7fc38 /webapp/client
parent9a9ae3dcd1c248a5d9e6f986ea967fa8bbf06f19 (diff)
downloadchat-35b816b92217237de922c928a6623b5ac426655a.tar.gz
chat-35b816b92217237de922c928a6623b5ac426655a.tar.bz2
chat-35b816b92217237de922c928a6623b5ac426655a.zip
PLT-3921 Fix System Console Recent Active Users (#3856)
* PLT-3921 System Console Recent Active Users
Diffstat (limited to 'webapp/client')
-rw-r--r--webapp/client/client.jsx9
1 files changed, 9 insertions, 0 deletions
diff --git a/webapp/client/client.jsx b/webapp/client/client.jsx
index 80e2cfe3e..6aabee080 100644
--- a/webapp/client/client.jsx
+++ b/webapp/client/client.jsx
@@ -958,6 +958,15 @@ export default class Client {
end(this.handleResponse.bind(this, 'getAudits', success, error));
}
+ getRecentlyActiveUsers(id, success, error) {
+ request.
+ get(`${this.getAdminRoute()}/recently_active_users/${id}`).
+ set(this.defaultHeaders).
+ type('application/json').
+ accept('application/json').
+ end(this.handleResponse.bind(this, 'getRecentlyActiveUsers', success, error));
+ }
+
getDirectProfiles(success, error) {
request.
get(`${this.getUsersRoute()}/direct_profiles`).