Place `price` endpoint outside of fence

This commit is contained in:
Rene Vergara 2023-05-11 13:15:17 -05:00
parent 1c202cf817
commit f185c76fa0
Signed by: pitmutt
GPG Key ID: 65122AD495A7F5B2
1 changed files with 1 additions and 1 deletions

View File

@ -1044,7 +1044,7 @@ routes pipe config = do
status ok200
else status noContent204
--Get price for Zcash
get "/api/price" $ do
get "/price" $ do
curr <- param "currency"
pr <- liftAndCatchIO $ run (findPrice curr)
case pr of