projects
/
arvados-workbench2.git
/ blobdiff
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Merge branch '18195-Refresh-Button-does-not-seem-to-refresh-the-sidebar-tree' into...
[arvados-workbench2.git]
/
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 8f93bb550c47f5fa278f7974bdea215d8f34240a..4d6b130b906d68a1f68c4e96e7e50a7b0fbeee9c 100644
(file)
--- a/
src/services/common-service/trashable-resource-service.ts
+++ b/
src/services/common-service/trashable-resource-service.ts
@@
-2,9
+2,9
@@
//
// SPDX-License-Identifier: AGPL-3.0
//
// SPDX-License-Identifier: AGPL-3.0
-import
* as _
from "lodash";
+import
{ snakeCase }
from "lodash";
import { AxiosInstance } from "axios";
import { AxiosInstance } from "axios";
-import { TrashableResource } from "
src/
models/resource";
+import { TrashableResource } from "models/resource";
import { CommonResourceService } from "services/common-service/common-resource-service";
import { ApiActions } from "services/api/api-actions";
import { CommonResourceService } from "services/common-service/common-resource-service";
import { ApiActions } from "services/api/api-actions";
@@
-29,7
+29,7
@@
export class TrashableResourceService<T extends TrashableResource> extends Commo
return CommonResourceService.defaultResponse(
this.serverApi
.post(this.resourceType + `/${uuid}/untrash`, {
return CommonResourceService.defaultResponse(
this.serverApi
.post(this.resourceType + `/${uuid}/untrash`, {
- params: CommonResourceService.mapKeys(
_.
snakeCase)(params)
+ params: CommonResourceService.mapKeys(snakeCase)(params)
}),
this.actions
);
}),
this.actions
);