From f185c76fa096e50ae36fd0dbea2302e2aeec56a5 Mon Sep 17 00:00:00 2001 From: Rene Vergara Date: Thu, 11 May 2023 13:15:17 -0500 Subject: [PATCH] Place `price` endpoint outside of fence --- src/ZGoBackend.hs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/ZGoBackend.hs b/src/ZGoBackend.hs index 399036e..3e13d45 100644 --- a/src/ZGoBackend.hs +++ b/src/ZGoBackend.hs @@ -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