Skip to content

Commit 5a050a8

Browse files
committed
add sudo header
1 parent 1defc24 commit 5a050a8

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

htyuc/src/lib.rs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -667,6 +667,7 @@ fn raw_find_users(
667667
}
668668

669669
async fn find_user_by_phone(
670+
_sudoer: HtySudoerTokenHeader,
670671
host: HtyHostHeader,
671672
Query(params): Query<HashMap<String, String>>,
672673
conn: db::DbConn,

0 commit comments

Comments
 (0)