icarus_models version bump (#84)

* icarus_models version bump

* icarus_models related changes

* Removing method

* Code formatting

* Warning fix

* Removing comments

* Version bump

* cargo update
This commit was merged in pull request #84.
This commit is contained in:
KD
2025-10-19 23:52:43 -04:00
committed by GitHub
parent 1e4ffc798e
commit ca13f101d7
4 changed files with 139 additions and 144 deletions
+1 -1
View File
@@ -176,7 +176,7 @@ impl Upload {
token: &icarus_models::token::AccessToken,
coverart: &icarus_models::coverart::CoverArt,
) -> Result<uuid::Uuid, reqwest::Error> {
let coverartpath = coverart.path.clone();
let coverartpath = coverart.get_path().unwrap();
let file = tokio::fs::File::open(&coverartpath).await.unwrap();
let stream = tokio_util::codec::FramedRead::new(file, tokio_util::codec::BytesCodec::new());
let file_body = reqwest::Body::wrap_stream(stream);