This commit is contained in:
Phillip Thelen
2023-03-01 15:06:08 +01:00
parent a2ce0ab099
commit 5d1346e65c

View File

@@ -12,9 +12,9 @@ const webhookData = {};
app.use(bodyParser.urlencoded({ app.use(bodyParser.urlencoded({
extended: true, extended: true,
limit: '10mb' limit: '10mb',
})); }));
app.use(bodyParser.json({limit: '10mb'})); app.use(bodyParser.json({ limit: '10mb' }));
app.post('/webhooks/:id', (req, res) => { app.post('/webhooks/:id', (req, res) => {
const { id } = req.params; const { id } = req.params;