18 lines
390 B
JavaScript
18 lines
390 B
JavaScript
/**
|
|
* Copyright (c) HashiCorp, Inc.
|
|
* SPDX-License-Identifier: MPL-2.0
|
|
*/
|
|
|
|
import ApplicationAdapter from './application';
|
|
import classic from 'ember-classic-decorator';
|
|
|
|
@classic
|
|
export default class AgentAdapter extends ApplicationAdapter {
|
|
pathForType = () => 'agent/members';
|
|
|
|
urlForFindRecord() {
|
|
const [, ...args] = arguments;
|
|
return this.urlForFindAll(...args);
|
|
}
|
|
}
|