fix: refs #6005 runtime
gitea/salix/pipeline/pr-test This commit looks good Details

This commit is contained in:
Pablo Natek 2024-05-03 12:33:59 +02:00
parent 7eb2e8f218
commit 48bfba71de
1 changed files with 1 additions and 2 deletions

View File

@ -30,8 +30,7 @@ module.exports = Self => {
return Object.keys(criteria).every(key => criteria[key] === paramsObj?.[key]);
});
if (filteredNotifications.length >= 1)
throw new Error('Previous notification sended with the same parameters');
if (filteredNotifications.length >= 1) return;
}
await models.NotificationQueue.create({