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