filekey-fix
All checks were successful
deploy / deploy (push) Successful in 1m2s

This commit is contained in:
Untone 2024-10-22 21:15:29 +03:00
parent 0d9f82449c
commit 85d07fd98c

View File

@ -77,7 +77,7 @@ pub async fn proxy_handler(
thumbdata_save(
filedata.clone(),
&state,
&base_filename,
&filekey,
content_type.to_string(),
)
.await;
@ -112,7 +112,7 @@ pub async fn proxy_handler(
content_type,
)
.await;
thumbdata_save(filedata.clone(), &state, &base_filename, content_type.to_string())
thumbdata_save(filedata.clone(), &state, &filekey, content_type.to_string())
.await;
Ok(HttpResponse::Ok().content_type(content_type).body(filedata))