We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 4668438 commit 7148417Copy full SHA for 7148417
services/tradingService.js
@@ -81,7 +81,7 @@ const trade = async (tradeData) => {
81
82
const orderValue = qtyUserCanPurchase * stockData.price
83
const stockPriceToBeUpdated = getUpdatedPrice(stockData.price)
84
- updatedCurrencyData.walletConstants.DINERO = userBalance
+ updatedCurrencyData[walletConstants.DINERO] = userBalance
85
86
const updatedStockData = {
87
...stockData,
0 commit comments