Skip to content

Commit

Permalink
fix:socket fix
Browse files Browse the repository at this point in the history
  • Loading branch information
Rithick574 committed Jul 10, 2024
1 parent df18341 commit 4771758
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion payment-service/src/presentation/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ const PORT: number = Number(process.env.PORT) || 4005;


app.use((req, res, next) => {
if (req.originalUrl === '/webhook') {
if (req.originalUrl === '/api/payment/webhook') {
next();
} else {
express.json()(req, res, next);
Expand Down

0 comments on commit 4771758

Please sign in to comment.