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