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 GitHub
parent 9132cc4a30
commit 0a0f620d0b
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

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": "",
}))) })))
} }