Replaced println with log, updated todo

This commit is contained in:
Vicky 2024-11-04 12:04:57 +01:00 committed by Dandaedre
parent 1e02cfb3d1
commit de74a0abdd
1 changed files with 1 additions and 2 deletions

View File

@ -91,8 +91,7 @@ pub async fn vote_modal(
use poise::Modal as _;
let data = VoteCreation::execute(ctx).await?;
// TODO: Change with logging
println!("Got data: {:?}", data);
log::info!("Got data: {:?}", data);
if let Some(unwrapped_data) = data {
let group = unwrapped_data.group.unwrap_or("".into());
let title = unwrapped_data.title;