return no content with status code 204 (#6665)

This commit is contained in:
Stefan Melmuk 2026-01-05 19:52:24 +01:00 committed by GitHub
parent bf37657c08
commit 1e1f9957cd
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -919,6 +919,7 @@ struct RegisterVerificationData {
#[derive(rocket::Responder)]
enum RegisterVerificationResponse {
#[response(status = 204)]
NoContent(()),
Token(Json<String>),
}