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