Skip to content

Commit 7e596ee

Browse files
committed
update: add server auth redirect url
1 parent cf5f7af commit 7e596ee

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/routers/payment/serverAuth/index.ts

+2-2
Original file line numberDiff line numberDiff line change
@@ -21,13 +21,13 @@ export default async (req: ServerAuthRequest, res: Response) => {
2121
throw new HttpError(500, '잘못된 요청입니다.','ERR_INVALID_REQUEST')
2222
}
2323

24-
const transaction = await createTransaction({
24+
await createTransaction({
2525
tid: response.tid,
2626
orderId: response.orderId,
2727
amount: response.amount,
2828
goodsName: response.goodsName,
2929
userId: userIdentity.id,
3030
})
3131

32-
res.json(transaction)
32+
res.redirect('https://demo.dimipay.io/user/profile')
3333
}

0 commit comments

Comments
 (0)