Remove the intended error in the example server

This commit is contained in:
jmic
2024-08-21 23:26:25 +02:00
parent b2e3f9e941
commit 50d3bd4e78

View File

@@ -98,8 +98,6 @@ async fn get_challenge() -> actix_web::Result<web::Json<Challenge>, ErrorRespons
let res = altcha_lib_rs::create_challenge(ChallengeOptions {
hmac_key: SECRET_KEY,
expires: Some(Utc::now() + chrono::TimeDelta::minutes(5)),
number: Some(22222),
max_number: Some(100),
..Default::default()
})?;
Ok(web::Json(res))