Skip to content

Commit

Permalink
Improves fix for cloudfoundry#3086
Browse files Browse the repository at this point in the history
  • Loading branch information
Blaine Forbush committed Oct 5, 2018
1 parent 8a11495 commit 7ded3d3
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/frontend/app/store/actions/service-instances.actions.ts
Original file line number Diff line number Diff line change
Expand Up @@ -82,7 +82,7 @@ export class DeleteServiceInstance extends CFStartAction implements ICFAction {
constructor(public endpointGuid: string, public guid: string) {
super();
this.options = new RequestOptions();
this.options.url = `service_instances/${guid}`;
this.options.url = `service_instances/${guid}?accepts_incomplete=true`;
this.options.method = 'delete';
this.options.params = new URLSearchParams();
this.options.params.set('async', 'false');
Expand Down Expand Up @@ -136,7 +136,7 @@ export class UpdateServiceInstance extends CreateServiceInstance {
) {
super(endpointGuid, guid, name, servicePlanGuid, spaceGuid, params, tags);
this.options.method = 'put';
this.options.url = `${this.options.url}/${this.guid}`;
this.options.url = `service_instances/${this.guid}?accepts_incomplete=true`;
this.actions = getActions('Service Instances', 'Update Service Instance');
}
updatingKey = UpdateServiceInstance.updateServiceInstance;
Expand Down

0 comments on commit 7ded3d3

Please sign in to comment.