Cleans up the code a bit

This commit is contained in:
Roflin committed 2025-07-12 20:01:57 +02:00
1 parent df1e3ff905
commit ad0e81fdc3
8 files changed
+21 -21

No files matched your search

@@ -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??;