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

14 lines
198 B
JavaScript

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