summaryrefslogtreecommitdiffstats
path: root/webapp/client/client.jsx
diff options
context:
space:
mode:
Diffstat (limited to 'webapp/client/client.jsx')
-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`).