Skip to content

Commit

Permalink
fix: lint
Browse files Browse the repository at this point in the history
  • Loading branch information
K0nnyaku committed Dec 4, 2024
1 parent 30b8851 commit 5062932
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/routes/contest.rs
Original file line number Diff line number Diff line change
Expand Up @@ -70,7 +70,7 @@ pub async fn remove_problem(
problem_id: &str,
auth: Json<Credentials<'_>>,
) -> Result<Empty> {
if !session::verify(db, &auth.id, &auth.token).await {
if !session::verify(db, auth.id, auth.token).await {
return Err(Error::Unauthorized(Json("Invalid session".into())));
}

Expand Down

0 comments on commit 5062932

Please sign in to comment.