mirror of
https://github.com/TryGhost/Ghost.git
synced 2025-02-24 23:48:13 -05:00
Merge pull request #3633 from halfdan/3630-revoke-user
Fix revoke user invite and user.destroy
This commit is contained in:
commit
7b21ca64a5
1 changed files with 6 additions and 0 deletions
|
@ -32,6 +32,12 @@ var UserAdapter = EmbeddedRelationAdapter.extend({
|
|||
|
||||
// Use the url from the ApplicationAdapter's buildURL method
|
||||
return this.ajax(url, 'PUT', { data: data });
|
||||
},
|
||||
|
||||
find: function (store, type, id) {
|
||||
var url = this.buildQuery(store, type, id);
|
||||
url.status = 'all';
|
||||
return this.findQuery(store, type, url);
|
||||
}
|
||||
});
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue