mirror of
https://github.com/awatertrevi/infisical.git
synced 2026-10-15 00:52:09 +00:00
requested changes
This commit is contained in:
@@ -259,7 +259,7 @@ export const secretQueueFactory = ({
|
||||
});
|
||||
}
|
||||
|
||||
if (recipients) {
|
||||
if (recipients?.length) {
|
||||
await secretReminderRecipientsDAL.transaction(async (tx) => {
|
||||
await secretReminderRecipientsDAL.delete({ secretId: newSecret.id }, tx);
|
||||
await secretReminderRecipientsDAL.insertMany(
|
||||
|
||||
Reference in New Issue
Block a user