Renamed prepareBody to uriEncodeBody

This commit is contained in:
Giuseppe Digilio
2019-04-19 18:54:02 +02:00
parent 86324c366f
commit ea3f3cb40a
4 changed files with 7 additions and 7 deletions

View File

@@ -70,7 +70,7 @@ export class ClaimedTaskDataService extends TasksService<ClaimedTask> {
const body = {
submit_approve: 'true'
};
return this.postToEndpoint(this.linkPath, this.requestService.prepareBody(body), scopeId, this.makeHttpOptions());
return this.postToEndpoint(this.linkPath, this.requestService.uriEncodeBody(body), scopeId, this.makeHttpOptions());
}
/**
@@ -88,7 +88,7 @@ export class ClaimedTaskDataService extends TasksService<ClaimedTask> {
submit_reject: 'true',
reason
};
return this.postToEndpoint(this.linkPath, this.requestService.prepareBody(body), scopeId, this.makeHttpOptions());
return this.postToEndpoint(this.linkPath, this.requestService.uriEncodeBody(body), scopeId, this.makeHttpOptions());
}
/**