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

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