mirror of
https://github.com/dani-garcia/vaultwarden
synced 2024-12-15 01:53:43 +01:00
return "Object" for consistency
Co-authored-by: Jeremy Lin <jjlin@users.noreply.github.com>
This commit is contained in:
parent
9132cc4a30
commit
0a0f620d0b
1 changed files with 1 additions and 1 deletions
|
@ -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": "",
|
||||||
})))
|
})))
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue