Skip to content

Commit

Permalink
fix(callback-handler): change all status code to 200
Browse files Browse the repository at this point in the history
  • Loading branch information
tfkhdyt committed Oct 4, 2023
1 parent d7074d4 commit 71fa4b1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/handlers/callback.handler.ts
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ export const callbackHandler = async (
try {
const { body } = req
if (body.transaction_status !== 'settlement') {
return reply.status(400).send('Status should be settlement')
return reply.status(200).send('Status should be settlement')
}

const [amount, userId] = body.order_id.split('_')
Expand Down

0 comments on commit 71fa4b1

Please sign in to comment.