Skip to content

Commit

Permalink
Merge pull request #134 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 15, 2024
2 parents 08c05b1 + 947c34c commit 64d1ba5
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion packages/esa/store/store.ts
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ interface FreeBusyStore {
interface ResponseStore {
[responseKey: string]: {
response: any;
userIDs: string[];
userIDs: number[];
input: any;
ctx: any;
dateFrom: string;
Expand Down
2 changes: 1 addition & 1 deletion packages/trpc/server/routers/viewer/slots/util.ts
Original file line number Diff line number Diff line change
Expand Up @@ -677,7 +677,7 @@ export async function getAvailableSlots({ input, ctx }: GetScheduleOptions, bypa
// store the response for a particular computation, it will then keep refreshing itself until it end date passes
const responseDataToCache: {
response: any;
userIDs: string[];
userIDs: number[];
input: any;
ctx: any;
dateFrom: string;
Expand Down

0 comments on commit 64d1ba5

Please sign in to comment.