clean cache, handled warnings etc

This commit is contained in:
Simon
2025-06-06 07:48:21 +00:00
parent df323ec9fd
commit 60a07269f6
10 changed files with 96 additions and 67 deletions

View File

@@ -1,4 +1,3 @@
use futures::channel;
use ntex::http::header;
use ntex::web;
use ntex::web::HttpRequest;
@@ -237,7 +236,7 @@ async fn status(req: HttpRequest) -> Result<impl web::Responder, web::Error> {
}
async fn videos_post(
video_request: web::types::Json<Videos_Request>,
video_request: web::types::Json<VideosRequest>,
cache: web::types::State<VideoCache>,
pool: web::types::State<DbPool>,
) -> Result<impl web::Responder, web::Error> {