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

12 lines
178 B
JavaScript

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