summaryrefslogtreecommitdiff
path: root/overlays/spm/lib/Spm
diff options
context:
space:
mode:
authorGregor Kleen <gkleen@yggdrasil.li>2022-12-18 19:10:03 +0100
committerGregor Kleen <gkleen@yggdrasil.li>2022-12-18 19:10:03 +0100
commit2b92f10ae5dab7c78718db4b701e866ac85d99cb (patch)
treee4f62ecb93916ee3d76af5d1e71875d9f5dfc72a /overlays/spm/lib/Spm
parent7d6e8a86997b41b351054cef0afc25646091a238 (diff)
downloadnixos-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.hs1
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
178spmApi :: Proxy SpmApi 179spmApi :: Proxy SpmApi
179spmApi = Proxy 180spmApi = Proxy