Skip to content

Commit

Permalink
backup for cryptoDetails api
Browse files Browse the repository at this point in the history
  • Loading branch information
hichri-louay committed Aug 8, 2023
1 parent 182f603 commit 3fef5bb
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions controllers/wallet.controller.js
Original file line number Diff line number Diff line change
Expand Up @@ -275,8 +275,8 @@ exports.gasPriceTrx = async (req, res) => {
}

exports.cryptoDetails = async (req, res) => {
//let prices = await getPrices()
return responseHandler.makeResponseData(res, 200, 'success', "prices")
let prices = await getPrices()
return responseHandler.makeResponseData(res, 200, 'success', prices)
}
exports.cryptoPriceDetails = async (req, res) => {
let chart = await getChartVariation(req.query.cryptolist)
Expand Down

0 comments on commit 3fef5bb

Please sign in to comment.