Skip to content

Commit

Permalink
fix: flipped assertion
Browse files Browse the repository at this point in the history
  • Loading branch information
RDIL committed Aug 19, 2024
1 parent 291edeb commit 18c535a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion components/scoreHandler.ts
Original file line number Diff line number Diff line change
Expand Up @@ -619,7 +619,7 @@ export async function getMissionEndData(

assert.ok(sessionDetails, "contract session not found")
assert(
sessionDetails.userId !== jwt.unique_name,
sessionDetails.userId === jwt.unique_name,
"requested score for other user's session",
)

Expand Down

0 comments on commit 18c535a

Please sign in to comment.