Get message endpoint (#14)
textsender_api PR / Rustfmt (pull_request) Successful in 45s
textsender_api PR / Clippy (pull_request) Successful in 1m30s
textsender_api PR / Check (pull_request) Successful in 2m10s

Reviewed-on: phoenix/textsender_api#14
This commit was merged in pull request #14.
This commit is contained in:
2026-06-17 15:54:26 -04:00
parent d86958035e
commit 5740bce97c
9 changed files with 461 additions and 51 deletions
+6
View File
@@ -111,6 +111,12 @@ pub mod init {
crate::auth::auth::<axum::body::Body>,
)),
)
.route(
crate::caller::endpoints::GET_MESSAGE,
get(message_endpoints::get_messages).route_layer(axum::middleware::from_fn(
crate::auth::auth::<axum::body::Body>,
)),
)
.layer(cors::configure_cors().await)
}