feat: completed basic CRUD

This commit is contained in:
Sheen Capadngan
2024-12-19 17:47:39 +08:00
parent e9358cd1d8
commit 8c98565715
15 changed files with 157 additions and 22 deletions
@@ -1533,7 +1533,8 @@ export const secretServiceFactory = ({
secretReminderRepeatDays,
metadata,
secretComment,
newSecretName
newSecretName,
secretMetadata
}: TUpdateSecretRawDTO) => {
const { botKey, shouldUseSecretV2Bridge } = await projectBotService.getBotKey(projectId);
const policy =
@@ -1585,7 +1586,8 @@ export const secretServiceFactory = ({
secretName,
newSecretName,
metadata,
secretValue
secretValue,
secretMetadata
});
return { type: SecretProtectionType.Direct as const, secret };
}