Revert "fix: all body parameter of API must be in lowercase"

This commit is contained in:
Amol
2024-01-25 18:59:55 +05:30
committed by GitHub
parent bfa0e0e144
commit 8686a35405
10 changed files with 241 additions and 306 deletions
@@ -1,5 +1,5 @@
export default async function saveWebhook(request, response) {
const Url = request.body.url;
const Url = request.body.Url;
const reqToken = request.headers['x-api-token'];
if (!reqToken) {
return response.status(400).json({ error: 'Please Provide API Token' });