fix: prevents cron to be clogged with calendars with missing credentialId (#18281)

This commit is contained in:
Omar López authored and GitHub committed 2024-12-19 23:53:51 +00:00
1 parent 795eecf300
commit ec920eb2a8
2 files changed
+23 -5

No files matched your search

@@ -323,4 +323,10 @@ export class SelectedCalendarRepository {
)
);
}
static async updateById(id: string, data: Prisma.SelectedCalendarUpdateInput) {
return await prisma.selectedCalendar.update({
where: { id },
data,
});
}
}