ext-fix
Some checks failed
deploy / deploy (push) Failing after 6s

This commit is contained in:
Untone 2024-11-12 12:03:34 +03:00
parent dc23d7d066
commit cdd743ac8f

View File

@ -156,7 +156,7 @@ pub async fn proxy_handler(
Ok(None) => {
warn!("No stored path found in DB for: {}", filekey);
let ct_parts = content_type.split("/").collect::<Vec<&str>>();
let filepath = format!("production/{}/{}.{}", ct_parts[0], base_filename, extension);
let filepath = format!("production/{}/{}.{}", ct_parts[0], base_filename, ext);
warn!("Looking up file with path: {} in bucket: {}", filepath, state.bucket);
let exists_in_storj = check_file_exists(&state.storj_client, &state.bucket, &filepath).await?;