From 7f731dfb00b804b76d800f0654337c663b5ada66 Mon Sep 17 00:00:00 2001 From: Reckless_Satoshi Date: Tue, 15 Nov 2022 10:22:01 -0800 Subject: [PATCH] Fix confirm action bug --- frontend/src/components/TradeBox/index.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/frontend/src/components/TradeBox/index.js b/frontend/src/components/TradeBox/index.js index 17e16e1b..ae90aeea 100644 --- a/frontend/src/components/TradeBox/index.js +++ b/frontend/src/components/TradeBox/index.js @@ -1208,7 +1208,7 @@ class TradeBox extends Component { handleClickConfirmButton = () => { apiClient - .post(this.props.baseUrl, this.props.baseUrl, '/api/order/?order_id=' + this.props.data.id, { + .post(this.props.baseUrl, '/api/order/?order_id=' + this.props.data.id, { action: 'confirm', }) .then((data) => {