status upgrade
This commit is contained in:
@@ -1,5 +1,5 @@
|
||||
use crate::providers::{
|
||||
ALL_PROVIDERS, DynProvider, panic_payload_to_string, report_provider_error,
|
||||
ALL_PROVIDERS, DynProvider, build_status_response, panic_payload_to_string, report_provider_error,
|
||||
run_provider_guarded,
|
||||
};
|
||||
use crate::util::cache::VideoCache;
|
||||
@@ -188,7 +188,7 @@ async fn status(req: HttpRequest) -> Result<impl web::Responder, web::Error> {
|
||||
}
|
||||
}
|
||||
status.iconUrl = format!("{}/favicon.ico", public_url_base).to_string();
|
||||
Ok(web::HttpResponse::Ok().json(&status))
|
||||
Ok(web::HttpResponse::Ok().json(&build_status_response(status)))
|
||||
}
|
||||
|
||||
async fn videos_post(
|
||||
|
||||
Reference in New Issue
Block a user