Skip to content
This repository has been archived by the owner on Mar 22, 2023. It is now read-only.

Commit

Permalink
coinmarketcap api endpoint updated
Browse files Browse the repository at this point in the history
  • Loading branch information
Hammad-Mubeen committed Dec 30, 2021
1 parent fba3fb9 commit 2e3460a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion routes/coinsmarketcapapi.js
Original file line number Diff line number Diff line change
Expand Up @@ -272,7 +272,7 @@ router.route("/priceconversion").post(async function (req, res, next) {
.then(response => {

console.log('API call response: ', response.data);
return res.status(400).json({
return res.status(200).json({
success: false,
worth: response.data.quote
});
Expand Down

0 comments on commit 2e3460a

Please sign in to comment.