@@ -197,13 +197,7 @@ pub mod endpoint {
|
||||
|
||||
match lr.upload(&file_path, &data).await {
|
||||
Ok(_res) => {
|
||||
match repo::coverart::insert(
|
||||
&pool,
|
||||
&data.raw_data,
|
||||
&file_type.file_type,
|
||||
)
|
||||
.await
|
||||
{
|
||||
match repo::coverart::insert(&pool, &file_type.file_type).await {
|
||||
Ok(id) => {
|
||||
println!("Inserting queued data");
|
||||
match repo::data::queue::coverart::insert(
|
||||
|
||||
Reference in New Issue
Block a user