From bd9f8adec82a73c67e2baf5bc5e8efc07dc900fd Mon Sep 17 00:00:00 2001 From: phoenix Date: Mon, 15 Jun 2026 22:58:59 -0400 Subject: [PATCH] cargo fmt --- src/repo/contact.rs | 1 - tests/test.rs | 12 ++++++++++-- 2 files changed, 10 insertions(+), 3 deletions(-) diff --git a/src/repo/contact.rs b/src/repo/contact.rs index b8bd257..5902aed 100644 --- a/src/repo/contact.rs +++ b/src/repo/contact.rs @@ -1,4 +1,3 @@ - use sqlx::Row; pub async fn insert( diff --git a/tests/test.rs b/tests/test.rs index 59abf7a..801fc62 100644 --- a/tests/test.rs +++ b/tests/test.rs @@ -218,7 +218,7 @@ mod request { id: &uuid::Uuid, firstname: Option<&str>, lastname: Option<&str>, - nickname: Option<&str> + nickname: Option<&str>, ) -> Result { let payload = serde_json::json!({ "firstname": firstname, @@ -405,7 +405,15 @@ async fn test_update_contact_names() { let new_nickname = Some(TEST_CONTACT_UPDATED_NICKNAME); let contact_id = contact.id.unwrap(); - match request::update_contact_names(&app, &contact_id, new_firstname, new_lastname, new_nickname).await { + match request::update_contact_names( + &app, + &contact_id, + new_firstname, + new_lastname, + new_nickname, + ) + .await + { Ok(response) => { let resp = util::get_resp_data::< textsender_api::caller::contact::response::UpdateContactNamesResponse,