mirror of
https://git.ethanthesleepy.one/ethanaobrien/ew.git
synced 2025-05-13 11:37:33 -05:00
Fix birthday
This commit is contained in:
parent
e8831fdcb8
commit
5a67be8182
1 changed files with 3 additions and 0 deletions
|
@ -176,6 +176,9 @@ pub fn user_post(req: HttpRequest, body: String) -> HttpResponse {
|
||||||
if !body["master_title_ids"].is_null() {
|
if !body["master_title_ids"].is_null() {
|
||||||
user["user"]["master_title_ids"][0] = body["master_title_ids"][0].clone();
|
user["user"]["master_title_ids"][0] = body["master_title_ids"][0].clone();
|
||||||
}
|
}
|
||||||
|
if !body["birthday"].is_null() {
|
||||||
|
user["user"]["birthday"][0] = body["birthday"].clone();
|
||||||
|
}
|
||||||
|
|
||||||
userdata::save_acc(&key, user.clone());
|
userdata::save_acc(&key, user.clone());
|
||||||
|
|
||||||
|
|
Loading…
Add table
Reference in a new issue