mirror of
https://gh.wpcy.net/https://github.com/discourse/discourse.git
synced 2026-05-07 05:15:58 +08:00
This commit was generated using the ember-native-class-codemod along with a handful of manual updates
13 lines
209 B
JavaScript
13 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";
|
|
}
|
|
}
|