From 3984005283995dd03e0313fc44b973a9a3aff89a Mon Sep 17 00:00:00 2001 From: krut_ni Date: Tue, 17 Jun 2025 13:19:27 +0200 Subject: [PATCH] added the APIToken back to the function --- runtime/src/file_data.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/runtime/src/file_data.rs b/runtime/src/file_data.rs index a45891b3..d75194e3 100644 --- a/runtime/src/file_data.rs +++ b/runtime/src/file_data.rs @@ -62,7 +62,7 @@ type Result = std::result::Result type ChunkStream = Pin> + Send>>; #[get("/retrieval/fs/extract?")] -pub async fn extract_data(path: String, mut end: Shutdown) -> EventStream![] { +pub async fn extract_data(_token: APIToken, path: String, mut end: Shutdown) -> EventStream![] { EventStream! { let stream_result = stream_data(&path).await; match stream_result {