mirror of
https://github.com/IT4Change/gradido.git
synced 2025-12-13 07:45:54 +00:00
elopage hook, log full body
This commit is contained in:
parent
78f3544c4f
commit
61b262472d
@ -35,7 +35,7 @@ import { LoginUserRepository } from '../typeorm/repository/LoginUser'
|
|||||||
|
|
||||||
export const elopageWebhook = async (req: any, res: any): Promise<void> => {
|
export const elopageWebhook = async (req: any, res: any): Promise<void> => {
|
||||||
// eslint-disable-next-line no-console
|
// 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
|
res.status(200).end() // Responding is important
|
||||||
const loginElopgaeBuyRepository = await getCustomRepository(LoginElopageBuysRepository)
|
const loginElopgaeBuyRepository = await getCustomRepository(LoginElopageBuysRepository)
|
||||||
const loginElopgaeBuy = new LoginElopageBuys()
|
const loginElopgaeBuy = new LoginElopageBuys()
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user