|
@@ -61,7 +61,6 @@ export default class AppContainer extends Container {
|
|
|
this.rendererInstances = {};
|
|
this.rendererInstances = {};
|
|
|
|
|
|
|
|
this.apiGet = this.apiGet.bind(this);
|
|
this.apiGet = this.apiGet.bind(this);
|
|
|
- this.apiPut = this.apiPut.bind(this);
|
|
|
|
|
this.apiPost = this.apiPost.bind(this);
|
|
this.apiPost = this.apiPost.bind(this);
|
|
|
this.apiDelete = this.apiDelete.bind(this);
|
|
this.apiDelete = this.apiDelete.bind(this);
|
|
|
this.apiRequest = this.apiRequest.bind(this);
|
|
this.apiRequest = this.apiRequest.bind(this);
|
|
@@ -309,10 +308,6 @@ export default class AppContainer extends Container {
|
|
|
return this.apiRequest('get', path, { params });
|
|
return this.apiRequest('get', path, { params });
|
|
|
}
|
|
}
|
|
|
|
|
|
|
|
- async apiPut(path, params) {
|
|
|
|
|
- return this.apiRequest('put', path, params);
|
|
|
|
|
- }
|
|
|
|
|
-
|
|
|
|
|
async apiPost(path, params) {
|
|
async apiPost(path, params) {
|
|
|
if (!params._csrf) {
|
|
if (!params._csrf) {
|
|
|
params._csrf = this.csrfToken;
|
|
params._csrf = this.csrfToken;
|