Skip to content

Commit

Permalink
refactor: code changes
Browse files Browse the repository at this point in the history
  • Loading branch information
Riddhiagrawal001 committed Oct 9, 2024
1 parent 555ddb8 commit 52da8da
Showing 1 changed file with 1 addition and 5 deletions.
6 changes: 1 addition & 5 deletions src/utils/Mappers/GroupACLMapper.res
Original file line number Diff line number Diff line change
Expand Up @@ -76,11 +76,7 @@ let getGroupAccessJson = groupACL => {
}

let convertValueToMap = arrayValue => {
open CommonAuthTypes
let userGroupACLMap: Map.t<
UserManagementTypes.groupAccessType,
CommonAuthTypes.authorization,
> = Map.make()
let userGroupACLMap: Map.t<groupAccessType, authorization> = Map.make()
arrayValue->Array.forEach(value => userGroupACLMap->Map.set(value, Access))
userGroupACLMap
}

0 comments on commit 52da8da

Please sign in to comment.