feat: protect feedback screenshots
This commit is contained in:
@@ -20,6 +20,7 @@ public class ListMyFeedbackHandler(AppDbContext dbContext)
|
||||
Guid reporterUserId = User.GetUserId();
|
||||
List<FeedbackReportDto> reports = await dbContext.FeedbackReports
|
||||
.Include(report => report.Tags)
|
||||
.Include(report => report.Screenshot)
|
||||
.Where(report => report.ReporterUserId == reporterUserId)
|
||||
.OrderByDescending(report => report.LastActivityAt)
|
||||
.Select(report => report.ToDto())
|
||||
|
||||
Reference in New Issue
Block a user