From 61028c828d3373a14d89e848ec91c8749a0c76d4 Mon Sep 17 00:00:00 2001 From: Michael Kim Date: Thu, 5 Sep 2024 14:49:38 +0900 Subject: [PATCH] Fix the layout of response for payments --- packages/relay/src/routers/PaymentRouter.ts | 2 ++ 1 file changed, 2 insertions(+) diff --git a/packages/relay/src/routers/PaymentRouter.ts b/packages/relay/src/routers/PaymentRouter.ts index 14886a8..934f19d 100644 --- a/packages/relay/src/routers/PaymentRouter.ts +++ b/packages/relay/src/routers/PaymentRouter.ts @@ -680,6 +680,7 @@ export class PaymentRouter { totalPoint: item.totalPoint.toString(), totalValue: item.totalValue.toString(), paymentStatus: item.paymentStatus, + terminalId: item.terminalId, openNewTimestamp: item.openNewTimestamp, closeNewTimestamp: item.closeNewTimestamp, openCancelTimestamp: item.openCancelTimestamp, @@ -1164,6 +1165,7 @@ export class PaymentRouter { currency: item.currency, shopId: item.shopId, account: item.account, + terminalId: item.terminalId, paymentStatus: item.paymentStatus, txHash: tx.hash, })