DEV: These routes don't exist anymore (#9823)

This commit is contained in:
Roman Rizzi
2020-05-19 16:09:03 -03:00
committed by GitHub
parent a239900522
commit 52228b1fa6
2 changed files with 0 additions and 7 deletions

View File

@ -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;