diff options
author | Gregor Kleen <gkleen@yggdrasil.li> | 2022-12-18 19:10:03 +0100 |
---|---|---|
committer | Gregor Kleen <gkleen@yggdrasil.li> | 2022-12-18 19:10:03 +0100 |
commit | 2b92f10ae5dab7c78718db4b701e866ac85d99cb (patch) | |
tree | e4f62ecb93916ee3d76af5d1e71875d9f5dfc72a /overlays/spm/lib/Spm | |
parent | 7d6e8a86997b41b351054cef0afc25646091a238 (diff) | |
download | nixos-2b92f10ae5dab7c78718db4b701e866ac85d99cb.tar nixos-2b92f10ae5dab7c78718db4b701e866ac85d99cb.tar.gz nixos-2b92f10ae5dab7c78718db4b701e866ac85d99cb.tar.bz2 nixos-2b92f10ae5dab7c78718db4b701e866ac85d99cb.tar.xz nixos-2b92f10ae5dab7c78718db4b701e866ac85d99cb.zip |
...
Diffstat (limited to 'overlays/spm/lib/Spm')
-rw-r--r-- | overlays/spm/lib/Spm/Api.hs | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/overlays/spm/lib/Spm/Api.hs b/overlays/spm/lib/Spm/Api.hs index ce4ee2d9..04dff2c9 100644 --- a/overlays/spm/lib/Spm/Api.hs +++ b/overlays/spm/lib/Spm/Api.hs | |||
@@ -174,6 +174,7 @@ type SpmApi = "whoami" :> Get '[PlainText, JSON] SpmMailbox | |||
174 | :<|> "mappings" :> Capture "mapping" SpmMapping :> Get '[PlainText, JSON] SpmMappingState | 174 | :<|> "mappings" :> Capture "mapping" SpmMapping :> Get '[PlainText, JSON] SpmMappingState |
175 | :<|> "mappings" :> Capture "mapping" SpmMapping :> ReqBody '[PlainText, JSON] SpmMappingState :> PatchNoContent | 175 | :<|> "mappings" :> Capture "mapping" SpmMapping :> ReqBody '[PlainText, JSON] SpmMappingState :> PatchNoContent |
176 | :<|> "mappings" :> Capture "mapping" SpmMapping :> ReqBody '[PlainText, JSON] SpmMappingState :> PutNoContent | 176 | :<|> "mappings" :> Capture "mapping" SpmMapping :> ReqBody '[PlainText, JSON] SpmMappingState :> PutNoContent |
177 | :<|> "mappings" :> Capture "mapping" SpmMapping :> DeleteNoContent | ||
177 | 178 | ||
178 | spmApi :: Proxy SpmApi | 179 | spmApi :: Proxy SpmApi |
179 | spmApi = Proxy | 180 | spmApi = Proxy |