Skip to content

Commit

Permalink
fix: comments resolved
Browse files Browse the repository at this point in the history
  • Loading branch information
Riddhiagrawal001 committed Jan 17, 2024
1 parent 9a3bafd commit 83f9696
Showing 1 changed file with 2 additions and 6 deletions.
8 changes: 2 additions & 6 deletions src/screens/HyperSwitch/UserManagement/InviteUsers.res
Original file line number Diff line number Diff line change
Expand Up @@ -104,9 +104,7 @@ let make = () => {
->Js.Json.string,
),
("password", passwordFromResponse->Js.Json.string),
]
->Dict.fromArray
->Js.Json.object_,
]->LogicUtils.getJsonFromArrayOfJson,
)
}
} catch {
Expand All @@ -131,9 +129,7 @@ let make = () => {
("email", ele->String.toLowerCase->Js.Json.string),
("name", ele->getNameFromEmail->Js.Json.string),
("role_id", role->Js.Json.string),
]
->Dict.fromArray
->Js.Json.object_
]->LogicUtils.getJsonFromArrayOfJson
inviteUserReq(body, emailPasswordsArray)
})

Expand Down

0 comments on commit 83f9696

Please sign in to comment.