Cleans up the code a bit

This commit is contained in:
2025-07-12 20:00:44 +02:00
parent df1e3ff905
commit ad0e81fdc3
8 changed files with 21 additions and 21 deletions

View File

@@ -25,11 +25,8 @@ pub async fn post_leave_gamenight(pool: web::Data<DbPool>, user: AuthUser, gamen
gamenight_id: Uuid::parse_str(&gamenight_id.gamenight_id)?,
user_id: user.0.id
};
println!("{:?}", participant);
let x = delete_gamenight_participant(&mut conn, participant)?;
println!("Amount of deleted rows: {:?}", x);
Ok(x)
}).await??;