This commit is contained in:
Sagi Sarussi 2021-08-18 09:02:45 +03:00 committed by GitHub
parent 6c9651c14a
commit cb637f1124
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -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))
} }