feat: tracing system

fix: 🚑 user_contact is not containing value
feat:  html mail system
refactor: ♻️ axum 0.8 routing compatibility
fix: 🚑 custom claim isn't working in jwt
feat:  token header extended compatibility
This commit is contained in:
Ahmet Kaan GÜMÜŞ 2025-01-23 21:34:54 +03:00
parent 3f2aa572a6
commit 0bb5a0b753
25 changed files with 182 additions and 99 deletions

View file

@ -28,10 +28,10 @@ struct UpdatePostInteraction {
pub fn route() -> Router {
Router::new()
.route("/", post(create))
.route("/:interaction_time", get(read))
.route("/{interaction_time}", get(read))
.route("/", patch(update))
.route("/:interaction_time", delete(delete_))
.route("/posts/:post_creation_time", get(read_all_for_post))
.route("/{interaction_time}", delete(delete_))
.route("/posts/{post_creation_time}", get(read_all_for_post))
}
async fn create(Json(create_post_interaction): Json<CreatePostInteraction>) -> impl IntoResponse {