diff options
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`). |