diff options
author | enahum <nahumhbl@gmail.com> | 2016-09-06 15:48:43 -0300 |
---|---|---|
committer | GitHub <noreply@github.com> | 2016-09-06 15:48:43 -0300 |
commit | 35b816b92217237de922c928a6623b5ac426655a (patch) | |
tree | adf7e7a96bd4b50aae0b295f94f8501643e7fc38 /webapp/client | |
parent | 9a9ae3dcd1c248a5d9e6f986ea967fa8bbf06f19 (diff) | |
download | chat-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.jsx | 9 |
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`). |