The bulk (#11)
Rust Build / Rustfmt (push) Successful in 1m26s
Rust Build / Test Suite (push) Successful in 1m41s
Rust Build / Check (push) Successful in 2m19s
Rust Build / Clippy (push) Successful in 1m36s
textsender_api PR / Rustfmt (pull_request) Successful in 31s
Rust Build / build (push) Successful in 2m11s
textsender_api PR / Clippy (pull_request) Successful in 1m39s
textsender_api PR / Check (pull_request) Successful in 2m30s

Reviewed-on: phoenix/textsender_api#11
This commit was merged in pull request #11.
This commit is contained in:
2026-06-17 13:40:15 -04:00
parent a226adcd0f
commit 98e93b175e
8 changed files with 452 additions and 183 deletions
+7 -1
View File
@@ -10,7 +10,7 @@ pub mod host {
pub mod init {
use std::time::Duration;
use axum::routing::{get, post};
use axum::routing::{get, patch, post};
use tower_http::timeout::TimeoutLayer;
use utoipa::OpenApi;
@@ -95,6 +95,12 @@ pub mod init {
crate::auth::auth::<axum::body::Body>,
)),
)
.route(
crate::caller::endpoints::UPDATE_CONTACT_NAME,
patch(contact_endpoints::update_contact_names).route_layer(
axum::middleware::from_fn(crate::auth::auth::<axum::body::Body>),
),
)
.layer(cors::configure_cors().await)
}