fix: Credentials cron for DelegationCredential not working (#21239)
* Remove unused return statement * Fix return from fn instead of continuing the loop * Ensure userId is set for existing records on update
This commit is contained in:
1 parent
22e3338709
commit
caf184151d
4 files changed
+23
-11
No files matched your search
@@ -145,6 +145,8 @@ export class CalendarCacheRepository implements ICalendarCacheRepository {
|
||||
},
|
||||
},
|
||||
update: {
|
||||
// Ensure that on update userId is also set(It handles the case where userId is not set for legacy records)
|
||||
userId,
|
||||
value,
|
||||
expiresAt: new Date(Date.now() + CACHING_TIME),
|
||||
},
|
||||
|
||||
Reference in new issue
Block a user