discourse/app/assets/javascripts/admin/addon/adapters/api-key.js

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

14 lines
209 B
JavaScript
Raw Normal View History

import RestAdapter from "discourse/adapters/rest";
export default class ApiKey extends RestAdapter {
jsonMode = true;
basePath() {
return "/admin/api/";
}
apiNameFor() {
return "key";
}
}