refactor(ldap): merge
This commit is contained in:
commit
00ab9af2a9
@ -174,7 +174,7 @@ upsertCampusUser upsertMode ldapData = do
|
|||||||
userFraportAbteilung' = ldapMap !!! ldapUserFraportAbteilung
|
userFraportAbteilung' = ldapMap !!! ldapUserFraportAbteilung
|
||||||
|
|
||||||
-- TODO: continue here
|
-- TODO: continue here
|
||||||
decodeLdap1 :: _hole -- (MonadThrow m, Exception e) => Ldap.Attr -> e -> m Text
|
-- decodeLdap1 :: (Exception e) => Ldap.Attr -> e -> m Text
|
||||||
decodeLdap1 attr err
|
decodeLdap1 attr err
|
||||||
| [bs] <- ldapMap !!! attr
|
| [bs] <- ldapMap !!! attr
|
||||||
, Right t <- Text.decodeUtf8' bs
|
, Right t <- Text.decodeUtf8' bs
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user