Update pages/api/availability/_get.ts
add initialData: {user}
Co-authored-by: Omar López <[email protected]>
This commit is contained in:
1 parent
9b5c7c5120
commit
5dbb2066e0
1 file changed
+1
-1
@@ -43,7 +43,7 @@ async function handler(req: NextApiRequest) {
|
||||
dateTo,
|
||||
eventTypeId,
|
||||
userId: user.userId,
|
||||
})
|
||||
}, {initialData: { user }})
|
||||
);
|
||||
}
|
||||
|
||||
|
||||
Reference in new issue
Block a user