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

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

14 lines
197 B
JavaScript
Raw Normal View History

import RESTAdapter from "discourse/adapters/rest";
export default RESTAdapter.extend({
jsonMode: true,
basePath() {
return "/admin/api/";
},
apiNameFor() {
return "key";
}
});