From 3a848bc0376cccda16205e2051e70f6a378c45c7 Mon Sep 17 00:00:00 2001 From: dinger1986 Date: Wed, 20 Mar 2024 20:52:31 +0000 Subject: [PATCH] Update views.py --- api/tacticalrmm/clients/views.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/api/tacticalrmm/clients/views.py b/api/tacticalrmm/clients/views.py index 475e8ee8..4f5b023b 100644 --- a/api/tacticalrmm/clients/views.py +++ b/api/tacticalrmm/clients/views.py @@ -92,7 +92,8 @@ class GetAddClients(APIView): if "initialsetup" in request.data.keys(): core = get_core_settings() core.default_time_zone = request.data["timezone"] - core.save(update_fields=["default_time_zone"]) + core.mesh_company_name = request.data["companyname"] + core.save(update_fields=["default_time_zone", "mesh_company_name"]) # save custom fields if "custom_fields" in request.data.keys():