mirror of
https://github.com/redstrate/Kawari.git
synced 2025-04-21 15:07:45 +00:00
patch: Fix Path needing to be a tuple
This commit is contained in:
parent
db4ec4c57e
commit
86c9ff4c94
1 changed files with 1 additions and 1 deletions
|
@ -10,7 +10,7 @@ use axum::extract::Path;
|
|||
use axum::response::IntoResponse;
|
||||
use axum::http::HeaderMap;
|
||||
|
||||
async fn verify_session(Path(game_version): Path<String>, Path(sid): Path<String>) -> impl IntoResponse {
|
||||
async fn verify_session(Path((game_version, sid)): Path<(String, String)>) -> impl IntoResponse {
|
||||
let mut headers = HeaderMap::new();
|
||||
headers.insert("X-Patch-Unique-Id", sid.parse().unwrap());
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue