diff --git a/src/animations.rs b/src/animations.rs index 4ed2ae5..25cd049 100644 --- a/src/animations.rs +++ b/src/animations.rs @@ -335,7 +335,7 @@ pub async fn start_animation( if r.is_err() || r.as_ref().ok().is_none() { return json!(ApiResponse { code: 500, - message: "Probelms with the db".to_string() + message: "Probelms with the sender".to_string() }) .to_string(); } diff --git a/src/main.rs b/src/main.rs index cac6387..ee67f41 100644 --- a/src/main.rs +++ b/src/main.rs @@ -140,6 +140,8 @@ fn ligth_controll( render.remove_animation(ani.ok().unwrap()); } + println("loop"); + render.render(); }