Place price
endpoint outside of fence
This commit is contained in:
parent
1c202cf817
commit
f185c76fa0
1 changed files with 1 additions and 1 deletions
|
@ -1044,7 +1044,7 @@ routes pipe config = do
|
||||||
status ok200
|
status ok200
|
||||||
else status noContent204
|
else status noContent204
|
||||||
--Get price for Zcash
|
--Get price for Zcash
|
||||||
get "/api/price" $ do
|
get "/price" $ do
|
||||||
curr <- param "currency"
|
curr <- param "currency"
|
||||||
pr <- liftAndCatchIO $ run (findPrice curr)
|
pr <- liftAndCatchIO $ run (findPrice curr)
|
||||||
case pr of
|
case pr of
|
||||||
|
|
Loading…
Reference in a new issue