feat: protect feedback screenshots
This commit is contained in:
@@ -35,6 +35,7 @@ public class CancelMyFeedbackHandler(AppDbContext dbContext)
|
||||
|
||||
FeedbackReport? report = await dbContext.FeedbackReports
|
||||
.Include(candidate => candidate.Tags)
|
||||
.Include(candidate => candidate.Screenshot)
|
||||
.SingleOrDefaultAsync(
|
||||
candidate => candidate.Id == id && candidate.ReporterUserId == reporterUserId,
|
||||
ct);
|
||||
|
||||
Reference in New Issue
Block a user