Refactoring (#149)

* Warning fixes

* More warning fixes

* Cargo.toml cleanup
This commit was merged in pull request #149.
This commit is contained in:
KD
2025-06-29 17:33:45 -04:00
committed by GitHub
parent 8c93429647
commit 3cde57dca8
5 changed files with 25 additions and 27 deletions
+4 -4
View File
@@ -107,7 +107,7 @@ pub mod metadata_queue {
.fetch_one(pool)
.await
.map_err(|e| {
eprintln!("Error inserting: {}", e);
eprintln!("Error inserting: {e}");
});
match result {
@@ -135,7 +135,7 @@ pub mod metadata_queue {
.fetch_one(pool)
.await
.map_err(|e| {
eprintln!("Error inserting: {}", e);
eprintln!("Error inserting: {e}");
});
match result {
@@ -174,7 +174,7 @@ pub mod metadata_queue {
.fetch_one(pool)
.await
.map_err(|e| {
eprintln!("Error inserting: {}", e);
eprintln!("Error inserting: {e}");
});
match result {
@@ -241,7 +241,7 @@ pub mod endpoint {
match params.id {
Some(id) => {
println!("Something works {:?}", id);
println!("Something works {id}");
match super::metadata_queue::get_with_id(&pool, &id).await {
Ok(item) => {