From 7f83b5439360dcf4b35757565e3007c049edd4a6 Mon Sep 17 00:00:00 2001 From: jb-alvarado Date: Wed, 22 Jun 2022 18:02:34 +0200 Subject: [PATCH] add debug --- ffplayout-api/src/utils/files.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ffplayout-api/src/utils/files.rs b/ffplayout-api/src/utils/files.rs index 1e04cd2a..723f9250 100644 --- a/ffplayout-api/src/utils/files.rs +++ b/ffplayout-api/src/utils/files.rs @@ -252,7 +252,7 @@ async fn valid_path(id: i64, path: &str) -> Result<(), ServiceError> { pub async fn upload(id: i64, mut payload: Multipart) -> Result { while let Some(mut field) = payload.try_next().await? { let content_disposition = field.content_disposition(); - println!("{content_disposition}"); + debug!("{content_disposition}"); let rand_string: String = rand::thread_rng() .sample_iter(&Alphanumeric) .take(20)