discourse/app/assets/javascripts/admin/addon/adapters/api-key.js
David Taylor 74349e17c9
DEV: Migrate remaining admin classes to native syntax (#20717)
This commit was generated using the ember-native-class-codemod along with a handful of manual updates
2023-03-17 12:25:05 +00:00

14 lines
209 B
JavaScript

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