Skip to content

Commit

Permalink
return "Object" for consistency
Browse files Browse the repository at this point in the history
Co-authored-by: Jeremy Lin <jjlin@users.noreply.github.com>
  • Loading branch information
stefan0xC and jjlin authored Oct 8, 2022
1 parent 9132cc4 commit 0a0f620
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/api/core/accounts.rs
Original file line number Diff line number Diff line change
Expand Up @@ -180,7 +180,7 @@ async fn register(data: JsonUpcase<RegisterData>, conn: DbConn) -> JsonResult {

user.save(&conn).await?;
Ok(Json(json!({
"object": "register",
"Object": "register",
"CaptchaBypassToken": "",
})))
}
Expand Down

0 comments on commit 0a0f620

Please sign in to comment.