mirror of
https://github.com/discourse/discourse.git
synced 2025-05-24 03:36:18 +08:00
DEV: These routes don't exist anymore (#9823)
This commit is contained in:
@ -77,12 +77,6 @@ const AdminUser = User.extend({
|
||||
});
|
||||
},
|
||||
|
||||
revokeApiKey() {
|
||||
return ajax(`/admin/users/${this.id}/revoke_api_key`, {
|
||||
type: "DELETE"
|
||||
}).then(() => this.set("api_key", null));
|
||||
},
|
||||
|
||||
deleteAllPosts() {
|
||||
let deletedPosts = 0;
|
||||
const user = this;
|
||||
|
Reference in New Issue
Block a user