0
0
Fork 0
mirror of https://github.com/dani-garcia/vaultwarden synced 2024-12-14 17:43:46 +01:00

return "Object" for consistency

Co-authored-by: Jeremy Lin <jjlin@users.noreply.github.com>
This commit is contained in:
Stefan Melmuk 2022-10-08 10:27:33 +02:00 committed by Daniel García
parent 2c0742387b
commit 5b96270874
No known key found for this signature in database
GPG key ID: FC8A7D14C3CD543A

View file

@ -180,7 +180,7 @@ async fn register(data: JsonUpcase<RegisterData>, conn: DbConn) -> JsonResult {
user.save(&conn).await?; user.save(&conn).await?;
Ok(Json(json!({ Ok(Json(json!({
"object": "register", "Object": "register",
"CaptchaBypassToken": "", "CaptchaBypassToken": "",
}))) })))
} }