Skip to content

Commit

Permalink
fix(fe): fix user testcase judging bug (#2220)
Browse files Browse the repository at this point in the history
  • Loading branch information
B0XERCAT authored Nov 20, 2024
1 parent db93e02 commit 7a7ffd0
Showing 1 changed file with 5 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -64,7 +64,11 @@ export default function RunTestButton({
locked: false
}
],
userTestcases: testcases
userTestcases: testcases.map((testcase) => ({
id: testcase.id,
in: testcase.input,
out: testcase.output
}))
},
searchParams: {
problemId
Expand Down

0 comments on commit 7a7ffd0

Please sign in to comment.