Fix: Renamed deep parameter to recursive

This commit is contained in:
Daniel Hougaard
2024-04-01 10:10:49 -07:00
parent 42fb732955
commit 36bf1b2abc
4 changed files with 12 additions and 12 deletions
@@ -440,7 +440,7 @@ export const secretServiceFactory = ({
actorOrgId,
actorAuthMethod,
includeImports,
deep
recursive
}: TGetSecretsDTO) => {
const { permission } = await permissionService.getProjectPermission(
actor,
@@ -452,7 +452,7 @@ export const secretServiceFactory = ({
let paths: { folderId: string; path: string }[] = [];
if (deep) {
if (recursive) {
const getPaths = recursivelyGetSecretPaths({
permissionService,
folderDAL,
@@ -852,7 +852,7 @@ export const secretServiceFactory = ({
actorAuthMethod,
environment,
includeImports,
deep
recursive
}: TGetSecretsRawDTO) => {
const botKey = await projectBotService.getBotKey(projectId);
if (!botKey) throw new BadRequestError({ message: "Project bot not found", name: "bot_not_found_error" });
@@ -866,7 +866,7 @@ export const secretServiceFactory = ({
actorAuthMethod,
path,
includeImports,
deep
recursive
});
return {
+2 -2
View File
@@ -74,7 +74,7 @@ export type TGetSecretsDTO = {
path: string;
environment: string;
includeImports?: boolean;
deep?: boolean;
recursive?: boolean;
} & TProjectPermission;
export type TGetASecretDTO = {
@@ -141,7 +141,7 @@ export type TGetSecretsRawDTO = {
path: string;
environment: string;
includeImports?: boolean;
deep?: boolean;
recursive?: boolean;
} & TProjectPermission;
export type TGetASecretRawDTO = {