Skip to content

Commit

Permalink
remove logs
Browse files Browse the repository at this point in the history
  • Loading branch information
Mrudul Vajpayee authored and Mrudul Vajpayee committed Oct 15, 2024
1 parent 86cc88e commit 1cbee7c
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions src/pages/api/webhooks/juspay/authorization.ts
Original file line number Diff line number Diff line change
Expand Up @@ -120,9 +120,7 @@ export default async function juspayAuthorizationWebhookHandler(
const logger = createLogger({ msgPrefix: "[JuspayWebhookHandler]" });
logger.info("Recieved Webhook from Juspay");
try {
console.log("****WebhookBody", req.body);
let webhook_event_name = parseWebhookEvent(req.body).event_name;
console.log("*****EventType", webhook_event_name);

if (JuspaySupportedEvents.safeParse(webhook_event_name).success) {
let webhookBody = intoWebhookResponse(req.body);
Expand Down

0 comments on commit 1cbee7c

Please sign in to comment.