diff options
author | Félix Sipma <felix.sipma@no-log.org> | 2018-12-14 11:53:35 +0100 |
---|---|---|
committer | Félix Sipma <felix.sipma@no-log.org> | 2018-12-14 11:53:35 +0100 |
commit | c3e25ef7c7fce0f1b3b79e775962b945a83f3ad3 (patch) | |
tree | 08431f5f51b6b7430878bb580fd1c24b50ccbfac | |
parent | 6020afba7f1987b5b981a02ec4cdbd83b4acc81d (diff) |
api: update base path
-rw-r--r-- | src/Shop/API.hs | 3 |
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 |