diff --git a/src/api/web.rs b/src/api/web.rs index 13637b77b2..5cdcb15e52 100644 --- a/src/api/web.rs +++ b/src/api/web.rs @@ -94,7 +94,7 @@ async fn web_files(p: PathBuf) -> Cached> { #[get("/attachments//?")] async fn attachments(uuid: SafeString, file_id: SafeString, token: String) -> Option { - let Ok(claims) = dbg!(decode_file_download(&token)) else { return None }; + let Ok(claims) = decode_file_download(&token) else { return None }; if claims.sub != *uuid || claims.file_id != *file_id { return None; }