Fix metadata issue on batch secret update fn

This commit is contained in:
Carlos Monastyrski
2025-07-21 16:17:39 -03:00
parent f29593eb60
commit bdd51d9baf

View File

@@ -239,6 +239,7 @@ export const fnSecretBulkUpdate = async ({
userId,
encryptedComment,
metadata,
secretMetadata,
reminderNote,
reminderRepeatDays
}
@@ -250,7 +251,7 @@ export const fnSecretBulkUpdate = async ({
key,
userId,
encryptedComment,
metadata,
metadata: JSON.stringify(metadata || secretMetadata || []),
reminderNote,
encryptedValue,
reminderRepeatDays