Added body console log
This commit is contained in:
@@ -51,6 +51,7 @@ app.post('/', async (req: Request, res: Response) => {
|
|||||||
return
|
return
|
||||||
}
|
}
|
||||||
const body: PushWebhook = req.body
|
const body: PushWebhook = req.body
|
||||||
|
console.log(body)
|
||||||
if (body?.type !== "PUSH_ARTIFACT") {
|
if (body?.type !== "PUSH_ARTIFACT") {
|
||||||
res.status(400).json({msg: "Only push hooks are allowed!"})
|
res.status(400).json({msg: "Only push hooks are allowed!"})
|
||||||
return
|
return
|
||||||
|
|||||||
Reference in New Issue
Block a user