fix: resolved secret import delete and include_import response control

This commit is contained in:
akhilmhdh
2023-07-24 20:53:59 +05:30
parent 90910819a3
commit e2b666345b
4 changed files with 14 additions and 12 deletions
@@ -30,7 +30,6 @@ export const createSecretImport = async (req: Request, res: Response) => {
if (doesImportExist) {
throw BadRequestError({ message: "Secret import already exist" });
}
importSecDoc.imports.push({
environment: secretImport.environment,
secretPath: secretImport.secretPath