mirror of
https://github.com/tokio-rs/axum.git
synced 2024-11-22 15:17:18 +01:00
Fix typo (#202)
This commit is contained in:
parent
6c9651c14a
commit
cb637f1124
1 changed files with 1 additions and 1 deletions
|
@ -68,7 +68,7 @@ async fn create_user(
|
||||||
username: payload.username,
|
username: payload.username,
|
||||||
};
|
};
|
||||||
|
|
||||||
// this will be converted into an JSON response
|
// this will be converted into a JSON response
|
||||||
// with a status code of `201 Created`
|
// with a status code of `201 Created`
|
||||||
(StatusCode::CREATED, response::Json(user))
|
(StatusCode::CREATED, response::Json(user))
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue