X-Git-Url: https://git.arvados.org/arvados.git/blobdiff_plain/83cc752d85a910c19ffaf5c74433fbf7fa76e038..4208a74b360bc040b9d9179fdbb3b5de5ad23ee5:/src/services/common-service/trashable-resource-service.ts diff --git a/src/services/common-service/trashable-resource-service.ts b/src/services/common-service/trashable-resource-service.ts index 633b2fbd89..5746bffb83 100644 --- a/src/services/common-service/trashable-resource-service.ts +++ b/src/services/common-service/trashable-resource-service.ts @@ -17,7 +17,7 @@ export class TrashableResourceService extends Commo trash(uuid: string): Promise { return CommonResourceService.defaultResponse( this.serverApi - .post(this.resourceType + `${uuid}/trash`), + .post(this.resourceType + `/${uuid}/trash`), this.actions ); } @@ -28,7 +28,7 @@ export class TrashableResourceService extends Commo }; return CommonResourceService.defaultResponse( this.serverApi - .post(this.resourceType + `${uuid}/untrash`, { + .post(this.resourceType + `/${uuid}/untrash`, { params: CommonResourceService.mapKeys(_.snakeCase)(params) }), this.actions