Skip to content

Commit

Permalink
Fixed bug
Browse files Browse the repository at this point in the history
  • Loading branch information
andriitsylia committed Aug 22, 2023
1 parent faebb38 commit 6388159
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -507,7 +507,7 @@ public async Task<ResponseDto> BlockProviderAdminsAndDeputiesByProviderAsync(
.GetByFilter(x => x.ProviderId == providerId && x.BlockingType != BlockingType.Manually)
.ConfigureAwait(false);

providerAdmins.Select(async providerAdmin =>
foreach (var providerAdmin in providerAdmins)
{
var response = await BlockProviderAdminAsync(providerAdmin.UserId, userId, requestId, isBlocked);

Expand All @@ -531,7 +531,7 @@ public async Task<ResponseDto> BlockProviderAdminsAndDeputiesByProviderAsync(
response.HttpStatusCode,
requestId);
}
});
}

return mainResponse;
}
Expand Down

0 comments on commit 6388159

Please sign in to comment.