2020-10-01 19:37:33 +00:00
|
|
|
import Application from '../application';
|
|
|
|
|
|
|
|
export default Application.extend({
|
|
|
|
queryRecord() {
|
|
|
|
return this.ajax(this.urlForQuery(), 'GET').then(resp => {
|
|
|
|
resp.id = resp.request_id;
|
|
|
|
return resp;
|
|
|
|
});
|
|
|
|
},
|
|
|
|
|
2020-10-08 15:23:59 +00:00
|
|
|
urlForUpdateRecord() {
|
|
|
|
return this.buildURL() + '/internal/counters/config';
|
|
|
|
},
|
|
|
|
|
2020-10-01 19:37:33 +00:00
|
|
|
urlForQuery() {
|
|
|
|
return this.buildURL() + '/internal/counters/config';
|
|
|
|
},
|
|
|
|
});
|