commit 5b96270874d273a2464e3118229665cf6f1724ee
parent 2c0742387bd65cd450361a8614903247212556c3
Author: Stefan Melmuk <509385+stefan0xC@users.noreply.github.com>
Date: Sat, 8 Oct 2022 10:27:33 +0200
return "Object" for consistency
Co-authored-by: Jeremy Lin <jjlin@users.noreply.github.com>
Diffstat:
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/src/api/core/accounts.rs b/src/api/core/accounts.rs
@@ -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": "",
})))
}