Skip to content

Commit

Permalink
Merge pull request #141 from Deep-Consulting-Solutions/task/cache-get…
Browse files Browse the repository at this point in the history
…AvailableSlots

fixed more type mismatches
  • Loading branch information
GAMHnile authored Dec 17, 2024
2 parents c8d9304 + 9d66e94 commit 77d5538
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions packages/trpc/server/routers/viewer/slots/util.ts
Original file line number Diff line number Diff line change
Expand Up @@ -765,8 +765,8 @@ export const refreshAvailableSlotsCache = async (
// ///////// to respond to requests quickly.
if (dataToRefresh){
let changedCalendarAvailabilities: {
dateFrom: string;
dateTo: string;
dateFrom: string | Date;
dateTo: string | Date;
}[] = [];
let shouldRefreshBecauseUserAvailabilityInCalWasUpdated = false;
if(cacheRefeshReason === CACHE_REFRESH_REASON_ENUM.EXTERNAL_CALENDAR_UPDATE){
Expand Down

0 comments on commit 77d5538

Please sign in to comment.