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();
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) => {
contacts.push(contact);
}
@@ -103,7 +103,7 @@ pub mod endpoint {
for contact in &contacts {
match swoosh::twilio::api::send_mssage(
&message, &contact, &pp, &t_config,
&message, contact, &pp, &t_config,
)
.await
{
@@ -137,7 +137,7 @@ pub mod endpoint {
)
} else {
for result in &mut results {
match event_repo::insert(&pool, &result).await {
match event_repo::insert(&pool, result).await {
Ok(i) => {
result.id = i;
}