elopage hook, log full body

This commit is contained in:
Ulf Gebhardt 2022-01-17 11:21:09 +01:00
parent 78f3544c4f
commit 61b262472d
Signed by: ulfgebhardt
GPG Key ID: DA6B843E748679C9

View File

@ -35,7 +35,7 @@ import { LoginUserRepository } from '../typeorm/repository/LoginUser'
export const elopageWebhook = async (req: any, res: any): Promise<void> => {
// eslint-disable-next-line no-console
console.log('Elopage Hook received')
console.log('Elopage Hook received', req.body)
res.status(200).end() // Responding is important
const loginElopgaeBuyRepository = await getCustomRepository(LoginElopageBuysRepository)
const loginElopgaeBuy = new LoginElopageBuys()