We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent a59cb91 commit 725b142Copy full SHA for 725b142
services/spar/src/Spar/Sem/IdP/Mem.hs
@@ -54,15 +54,7 @@ idPToMem = evState . evEff
54
modify (_2 %~ deleteRawMetadata i)
55
56
storeConfig :: IP.IdP -> TypedState -> TypedState
57
-storeConfig iw =
58
- M.filter
59
- ( \iw' ->
60
- or
61
- [ iw' ^. SAML.idpMetadata . SAML.edIssuer /= iw ^. SAML.idpMetadata . SAML.edIssuer,
62
- iw' ^. SAML.idpExtraInfo . IP.wiTeam /= iw ^. SAML.idpExtraInfo . IP.wiTeam
63
- ]
64
- )
65
- . M.insert (iw ^. SAML.idpId) iw
+storeConfig iw = M.insert (iw ^. SAML.idpId) iw
66
67
getConfig :: SAML.IdPId -> TypedState -> Maybe IP.IdP
68
getConfig = M.lookup
0 commit comments