fmt
Some checks failed
deploy / deploy (push) Failing after 3s

This commit is contained in:
2024-09-23 18:16:47 +03:00
parent a85a5c5dd5
commit ef78bc078b
6 changed files with 10 additions and 18 deletions

View File

@@ -1,8 +1,7 @@
use std::str::FromStr;
use actix_web::error::ErrorInternalServerError;
use aws_sdk_s3::{error::SdkError, primitives::ByteStream, Client as S3Client};
use mime_guess::mime;
use std::str::FromStr;
/// Загружает файл в S3 хранилище.
pub async fn upload_to_s3(