mirror of
https://github.com/discourse/discourse.git
synced 2025-02-23 05:57:23 +08:00

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";
|
|
}
|
|
}
|