add user conv impl

This commit is contained in:
2025-12-29 17:23:05 +01:00
parent 5a8d1e447b
commit 8671b03856
15 changed files with 316 additions and 382 deletions

View File

@@ -332,6 +332,7 @@ struct LoginResponse {
#[derive(Serialize)]
struct MultiLoginResponse {
user_id: i32,
tokens: Vec<String>,
}
@@ -674,7 +675,7 @@ pub async fn login_refresh_token (
}
//Json(tokens).into_response()
Json(MultiLoginResponse { tokens }).into_response()
Json(MultiLoginResponse { user_id, tokens }).into_response()
}