Skip to content

Commit

Permalink
Update profile.rs
Browse files Browse the repository at this point in the history
  • Loading branch information
shiroyashik authored Jul 26, 2024
1 parent f3e042a commit 21ffa5c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/api/figura/profile.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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(),
Expand Down

0 comments on commit 21ffa5c

Please sign in to comment.