This commit is contained in:
parent
28d2ba0f9c
commit
cb25df8446
@ -335,7 +335,7 @@ pub async fn start_animation(
|
|||||||
if r.is_err() || r.as_ref().ok().is_none() {
|
if r.is_err() || r.as_ref().ok().is_none() {
|
||||||
return json!(ApiResponse {
|
return json!(ApiResponse {
|
||||||
code: 500,
|
code: 500,
|
||||||
message: "Probelms with the db".to_string()
|
message: "Probelms with the sender".to_string()
|
||||||
})
|
})
|
||||||
.to_string();
|
.to_string();
|
||||||
}
|
}
|
||||||
|
@ -140,6 +140,8 @@ fn ligth_controll(
|
|||||||
render.remove_animation(ani.ok().unwrap());
|
render.remove_animation(ani.ok().unwrap());
|
||||||
}
|
}
|
||||||
|
|
||||||
|
println("loop");
|
||||||
|
|
||||||
render.render();
|
render.render();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user