remove for of with for await

This commit is contained in:
Maidul Islam
2024-05-15 20:19:10 -04:00
parent 74fe673724
commit 4a35623956
2 changed files with 1 additions and 2 deletions
@@ -136,7 +136,7 @@ export const identityProjectServiceFactory = ({
message: `Identity with id ${identityId} doesn't exists in project with id ${projectId}`
});
for (const { role: requestedRoleChange } of roles) {
for await (const { role: requestedRoleChange } of roles) {
const { permission: rolePermission } = await permissionService.getProjectPermissionByRole(
requestedRoleChange,
projectId