mirror of
https://github.com/awatertrevi/infisical.git
synced 2026-10-14 14:34:09 +00:00
Addressed PR suggestions
This commit is contained in:
@@ -292,7 +292,7 @@ export const secretFolderServiceFactory = ({
|
||||
});
|
||||
}
|
||||
|
||||
const env = await projectEnvDAL.findOne({ projectId, slug: environment });
|
||||
const env = await projectEnvDAL.findOne({ projectId, slug: environment }, tx);
|
||||
if (!env) {
|
||||
throw new NotFoundError({
|
||||
message: `Environment with slug '${environment}' in project with ID '${projectId}' not found`,
|
||||
|
||||
@@ -558,7 +558,7 @@ export type TProcessNewCommitRawDTO = {
|
||||
}[];
|
||||
update?: {
|
||||
secretKey: string;
|
||||
newSecretKey?: string;
|
||||
newSecretName?: string;
|
||||
secretValue?: string;
|
||||
secretComment?: string;
|
||||
skipMultilineEncoding?: boolean;
|
||||
|
||||
Reference in New Issue
Block a user