fix: prevents cron to be clogged with calendars with missing credentialId (#18281)
This commit is contained in:
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,
|
||||
});
|
||||
}
|
||||
}
|
||||
Reference in new issue
Block a user