From 5a67be8182e064034b61417074daea7c3b3193f8 Mon Sep 17 00:00:00 2001 From: Ethan O'Brien <77750390+ethanaobrien@users.noreply.github.com> Date: Tue, 30 Apr 2024 06:29:51 -0500 Subject: [PATCH] Fix birthday --- src/router/user.rs | 3 +++ 1 file changed, 3 insertions(+) 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());