This commit is contained in:
parent
40a7655cea
commit
28d2ba0f9c
@ -309,7 +309,7 @@ pub async fn start_animation(
|
|||||||
) -> String {
|
) -> String {
|
||||||
println!("try to get animation!");
|
println!("try to get animation!");
|
||||||
let animation = get_animation(name, db);
|
let animation = get_animation(name, db);
|
||||||
println!("{?:animation}!");
|
println!("{:?}!", animation);
|
||||||
|
|
||||||
if animation.is_err() || animation.as_ref().ok().is_none() {
|
if animation.is_err() || animation.as_ref().ok().is_none() {
|
||||||
return json!(ApiResponse {
|
return json!(ApiResponse {
|
||||||
|
Loading…
Reference in New Issue
Block a user