fix: move log of userId
parent
a91dd428c0
commit
824d01f358
|
@ -10,6 +10,7 @@ async function createOrlistAllEventTypes(
|
||||||
{ method, body, userId }: NextApiRequest,
|
{ method, body, userId }: NextApiRequest,
|
||||||
res: NextApiResponse<EventTypesResponse | EventTypeResponse>
|
res: NextApiResponse<EventTypesResponse | EventTypeResponse>
|
||||||
) {
|
) {
|
||||||
|
console.log("userId:", userId);
|
||||||
if (method === "GET") {
|
if (method === "GET") {
|
||||||
/**
|
/**
|
||||||
* @swagger
|
* @swagger
|
||||||
|
|
Loading…
Reference in New Issue