Skip to content

Commit

Permalink
chore(homeserver): remove debug_handler
Browse files Browse the repository at this point in the history
  • Loading branch information
Nuhvi committed Oct 16, 2024
1 parent fd88986 commit aace1aa
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 4 deletions.
2 changes: 0 additions & 2 deletions pubky-homeserver/src/routes/auth.rs
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
use axum::{
debug_handler,
extract::{Host, State},
http::StatusCode,
response::IntoResponse,
Expand All @@ -20,7 +19,6 @@ use crate::{
server::AppState,
};

#[debug_handler]
pub async fn signup(
State(state): State<AppState>,
user_agent: Option<TypedHeader<UserAgent>>,
Expand Down
2 changes: 0 additions & 2 deletions pubky-homeserver/src/routes/public.rs
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
use axum::{
body::Body,
debug_handler,
extract::State,
http::{header, Response, StatusCode},
response::IntoResponse,
Expand All @@ -17,7 +16,6 @@ use crate::{
server::AppState,
};

#[debug_handler]
pub async fn put(
State(mut state): State<AppState>,
pubky: Pubky,
Expand Down

0 comments on commit aace1aa

Please sign in to comment.