diff options
author | William Carroll <wpcarro@gmail.com> | 2020-07-31T17·29+0100 |
---|---|---|
committer | William Carroll <wpcarro@gmail.com> | 2020-07-31T17·30+0100 |
commit | cdaa449670318373fa581263284ed09d75645ac5 (patch) | |
tree | 7267b92481f5ea63382ccb00cd5fe4f06596a722 /src/API.hs | |
parent | 35b218c5436ec5ad8fdae3d45a8a949d06b0d920 (diff) |
Prefer PUT to PATCH
It was always a PUT. Nothing to see here, folks.
Diffstat (limited to 'src/API.hs')
-rw-r--r-- | src/API.hs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/API.hs b/src/API.hs index 7b6ed9eae50f..461c851126a4 100644 --- a/src/API.hs +++ b/src/API.hs @@ -44,7 +44,7 @@ type API = :<|> "trips" :> SessionCookie :> ReqBody '[JSON] T.UpdateTripRequest - :> Patch '[JSON] NoContent + :> Put '[JSON] NoContent -- trips: Delete :<|> "trips" :> SessionCookie |