mirror of
https://github.com/taobataoma/meanTorrent.git
synced 2026-05-07 03:37:17 +02:00
feat(history): show user account history on manage page
This commit is contained in:
@@ -325,6 +325,14 @@
|
||||
params: {
|
||||
userId: '@userId'
|
||||
}
|
||||
},
|
||||
getUserHistory: {
|
||||
method: 'GET',
|
||||
isArray: true,
|
||||
url: '/api/users/:userId/history',
|
||||
params: {
|
||||
userId: '@userId'
|
||||
}
|
||||
}
|
||||
});
|
||||
|
||||
@@ -361,6 +369,9 @@
|
||||
},
|
||||
presentUserInvitations: function (params) {
|
||||
return this.presentInvitations(params).$promise;
|
||||
},
|
||||
userHistory: function (params) {
|
||||
return this.getUserHistory(params).$promise;
|
||||
}
|
||||
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user