Update pages/api/availability/_get.ts
add initialData: {user} Co-authored-by: Omar López <zomars@me.com>pull/9078/head
parent
9b5c7c5120
commit
5dbb2066e0
|
@ -43,7 +43,7 @@ async function handler(req: NextApiRequest) {
|
|||
dateTo,
|
||||
eventTypeId,
|
||||
userId: user.userId,
|
||||
})
|
||||
}, {initialData: { user }})
|
||||
);
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue