Replaced println with log, updated todo #24

Merged
Dandaedre merged 1 commits from print_to_log into dev 2024-11-05 18:15:58 +01:00
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;