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 aefc404 commit 607cfcfCopy full SHA for 607cfcf
libs/wire-subsystems/test/unit/Wire/MockInterpreters/TeamCollaboratorsStore.hs
@@ -27,8 +27,8 @@ inMemoryTeamCollaboratorsStoreInterpreter =
27
UpdateTeamCollaborator userId teamId permissions ->
28
let updatePermissions teamCollaborator =
29
if teamCollaborator.gUser == userId
30
- then teamCollaborator {gPermissions = permissions}
31
- else teamCollaborator
+ then teamCollaborator {gPermissions = permissions}
+ else teamCollaborator
32
in modify $ Map.adjust (fmap updatePermissions) teamId
33
RemoveTeamCollaborator userId teamId ->
34
modify $ Map.alter (fmap $ filter $ (/= userId) . gUser) teamId
0 commit comments