Browse Source
return "Object" for consistency
Co-authored-by: Jeremy Lin <jjlin@users.noreply.github.com>
pull/2810/head
Stefan Melmuk
2 years ago
committed by
Daniel García
No known key found for this signature in database
GPG Key ID: FC8A7D14C3CD543A
1 changed files with
1 additions and
1 deletions
-
src/api/core/accounts.rs
|
@ -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": "", |
|
|
}))) |
|
|
}))) |
|
|
} |
|
|
} |
|
|