mirror of
https://github.com/shiroyashik/sculptor.git
synced 2025-12-06 13:01:12 +03:00
Update profile.rs
This commit is contained in:
parent
f3e042ac1a
commit
21ffa5c747
1 changed files with 1 additions and 1 deletions
|
|
@ -34,7 +34,7 @@ pub async fn user_info(
|
|||
let auth_system = match state.user_manager.get_by_uuid(&uuid) {
|
||||
Some(d) => d.auth_system.to_string(),
|
||||
None => return (
|
||||
StatusCode::NO_CONTENT,
|
||||
StatusCode::BAD_REQUEST,
|
||||
[(header::CONTENT_TYPE, "text/plain")],
|
||||
"err".to_string()
|
||||
)// (StatusCode::NO_CONTENT, "not sculptor user".to_string()), //(StatusCode::NOT_FOUND, "not found".to_string()).into_response(),
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue