diff --git a/src/router/user.rs b/src/router/user.rs index 8d3081f..8590a6e 100644 --- a/src/router/user.rs +++ b/src/router/user.rs @@ -176,6 +176,9 @@ pub fn user_post(req: HttpRequest, body: String) -> HttpResponse { if !body["master_title_ids"].is_null() { 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());