Skip to content

Commit

Permalink
fix: Add reviewers to tagreview (#116)
Browse files Browse the repository at this point in the history
  • Loading branch information
taustad authored Oct 16, 2023
1 parent 195bcd0 commit 1681391
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion datasheetapi/Repositories/TagDataReviewRepository.cs
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,9 @@ public async Task<List<TagDataReview>> GetTagDataReviews(Guid? reviewerId)
{
if (reviewerId == null)
{
return await _context.TagDataReviews.ToListAsync();
return await _context.TagDataReviews
.Include(r => r.Reviewers)
.ToListAsync();
}

var reviews = await _context.TagDataReviews
Expand Down

0 comments on commit 1681391

Please sign in to comment.