Warning fixes
Rust Build / Rustfmt (pull_request) Has been cancelled
Rust Build / Test Suite (pull_request) Has been cancelled

This commit is contained in:
2026-06-20 17:26:42 -04:00
parent 549baf8b22
commit 9df6f054b7
+3 -3
View File
@@ -60,7 +60,7 @@ pub mod endpoint {
let mut contacts: Vec<textsender_models::contact::Contact> = Vec::new(); let mut contacts: Vec<textsender_models::contact::Contact> = Vec::new();
for contact_id in &payload.contact_ids { for contact_id in &payload.contact_ids {
match contact_repo::get(&pool, &contact_id).await { match contact_repo::get(&pool, contact_id).await {
Ok(contact) => { Ok(contact) => {
contacts.push(contact); contacts.push(contact);
} }
@@ -103,7 +103,7 @@ pub mod endpoint {
for contact in &contacts { for contact in &contacts {
match swoosh::twilio::api::send_mssage( match swoosh::twilio::api::send_mssage(
&message, &contact, &pp, &t_config, &message, contact, &pp, &t_config,
) )
.await .await
{ {
@@ -137,7 +137,7 @@ pub mod endpoint {
) )
} else { } else {
for result in &mut results { for result in &mut results {
match event_repo::insert(&pool, &result).await { match event_repo::insert(&pool, result).await {
Ok(i) => { Ok(i) => {
result.id = i; result.id = i;
} }