Pass userId while creating event-type (#2599)
Co-authored-by: kodiakhq[bot] <49736102+kodiakhq[bot]@users.noreply.github.com>pull/2636/head^2
parent
f274c0bde3
commit
99666440cf
|
@ -117,6 +117,7 @@ export const eventTypesRouter = createProtectedRouter()
|
|||
|
||||
const data: Prisma.EventTypeCreateInput = {
|
||||
...rest,
|
||||
userId: teamId ? undefined : userId,
|
||||
users: {
|
||||
connect: {
|
||||
id: userId,
|
||||
|
|
Loading…
Reference in New Issue