//
// SPDX-License-Identifier: AGPL-3.0
-import * as _ from "lodash";
+import { snakeCase } from "lodash";
import { AxiosInstance } from "axios";
import { TrashableResource } from "src/models/resource";
import { CommonResourceService } from "services/common-service/common-resource-service";
return CommonResourceService.defaultResponse(
this.serverApi
.post(this.resourceType + `/${uuid}/untrash`, {
- params: CommonResourceService.mapKeys(_.snakeCase)(params)
+ params: CommonResourceService.mapKeys(snakeCase)(params)
}),
this.actions
);