fix: API to return hosts on event types response (#12204)
This commit is contained in:
parent
23fda4a9e6
commit
ed04062540
|
@ -51,6 +51,7 @@ export async function getHandler(req: NextApiRequest) {
|
|||
customInputs: true,
|
||||
team: { select: { slug: true } },
|
||||
users: true,
|
||||
hosts: { select: { userId: true, isFixed: true } },
|
||||
owner: { select: { username: true, id: true } },
|
||||
children: { select: { id: true, userId: true } },
|
||||
},
|
||||
|
|
|
@ -45,6 +45,7 @@ async function getHandler(req: NextApiRequest) {
|
|||
customInputs: true,
|
||||
team: { select: { slug: true } },
|
||||
users: true,
|
||||
hosts: { select: { userId: true, isFixed: true } },
|
||||
owner: { select: { username: true, id: true } },
|
||||
children: { select: { id: true, userId: true } },
|
||||
},
|
||||
|
|
Loading…
Reference in New Issue
Block a user