mirror of
https://github.com/dani-garcia/vaultwarden.git
synced 2026-05-05 11:03:59 +02:00
return no content with status code 204 (#6665)
This commit is contained in:
parent
bf37657c08
commit
1e1f9957cd
1 changed files with 1 additions and 0 deletions
|
|
@ -919,6 +919,7 @@ struct RegisterVerificationData {
|
|||
|
||||
#[derive(rocket::Responder)]
|
||||
enum RegisterVerificationResponse {
|
||||
#[response(status = 204)]
|
||||
NoContent(()),
|
||||
Token(Json<String>),
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in a new issue