diff --git a/src/dotnet/APIView/APIViewWeb/Managers/ReviewManager.cs b/src/dotnet/APIView/APIViewWeb/Managers/ReviewManager.cs index 3ee528afc9c..f813bd7b000 100644 --- a/src/dotnet/APIView/APIViewWeb/Managers/ReviewManager.cs +++ b/src/dotnet/APIView/APIViewWeb/Managers/ReviewManager.cs @@ -134,6 +134,10 @@ public async Task GetReviewAsync(ClaimsPrincipal user, stri /// public async Task> GetReviewsAsync(IEnumerable reviewIds, bool? isClosed = null) { + if (reviewIds == null || !reviewIds.Any()) + { + return new List(); + } return await _reviewsRepository.GetReviewsAsync(reviewIds, isClosed); }