Skip to content

Commit

Permalink
fix the message
Browse files Browse the repository at this point in the history
  • Loading branch information
m4salah committed Dec 5, 2023
1 parent 0dbd9e1 commit eb2ea34
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/main.rs
Original file line number Diff line number Diff line change
Expand Up @@ -93,7 +93,7 @@ async fn contest(Json(reindeers): Json<Vec<ContestReindeer>>) -> impl IntoRespon
consumer: format!("{} ate lots of candies, but also some grass", c.name),
})
.into_response(),
_ => (StatusCode::BAD_REQUEST, "atleast on contest must enter").into_response(),
_ => (StatusCode::BAD_REQUEST, "Invalid contest").into_response(),
}
}

Expand Down

0 comments on commit eb2ea34

Please sign in to comment.