summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorFélix Sipma <felix.sipma@no-log.org>2018-12-14 11:53:35 +0100
committerFélix Sipma <felix.sipma@no-log.org>2018-12-14 11:53:35 +0100
commitc3e25ef7c7fce0f1b3b79e775962b945a83f3ad3 (patch)
tree08431f5f51b6b7430878bb580fd1c24b50ccbfac
parent6020afba7f1987b5b981a02ec4cdbd83b4acc81d (diff)
api: update base path
-rw-r--r--src/Shop/API.hs3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/Shop/API.hs b/src/Shop/API.hs
index dcf7cc4..c1c5394 100644
--- a/src/Shop/API.hs
+++ b/src/Shop/API.hs
@@ -9,8 +9,7 @@ import Servant.API
import Shop.Types
-type ShopAPI =
- "/" :> ReqBody '[JSON] ChargeForm :> Post '[JSON] Text
+type ShopAPI = ReqBody '[JSON] ChargeForm :> Post '[JSON] Text
shopAPI :: Proxy ShopAPI
shopAPI = Proxy