Skip to content

Commit

Permalink
fix(be): add user-id condition for get-contest-submissions (#1602)
Browse files Browse the repository at this point in the history
- contest submissions를 불러올 때 자신이 제출한 submissions만을 반환하도록 수정
  • Loading branch information
Jaehyeon1020 authored Mar 24, 2024
1 parent d670a83 commit ae3d1bc
Showing 1 changed file with 2 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -665,7 +665,8 @@ export class SubmissionService implements OnModuleInit {
take,
where: {
problemId,
contestId
contestId,
userId
},
select: {
id: true,
Expand Down

0 comments on commit ae3d1bc

Please sign in to comment.