mirror of
https://github.com/discourse/discourse.git
synced 2024-12-08 01:43:46 +08:00
74349e17c9
This commit was generated using the ember-native-class-codemod along with a handful of manual updates
14 lines
209 B
JavaScript
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";
|
|
}
|
|
}
|