From e27a978431bd157dde7ac2d505dafa95b3fe32ca Mon Sep 17 00:00:00 2001 From: devilsautumn Date: Fri, 25 Oct 2024 15:02:47 +0530 Subject: [PATCH] fixed issue with no app template --- backend/src/zango/api/platform/tenancy/v1/views.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/backend/src/zango/api/platform/tenancy/v1/views.py b/backend/src/zango/api/platform/tenancy/v1/views.py index 439e1cc6..60302d46 100644 --- a/backend/src/zango/api/platform/tenancy/v1/views.py +++ b/backend/src/zango/api/platform/tenancy/v1/views.py @@ -95,7 +95,7 @@ def get(self, request, *args, **kwargs): def post(self, request, *args, **kwargs): data = request.data - app_template = data.get("app_template", False) + app_template = data.get("app_template", None) app_template_name = None if app_template: app_template_name = str(app_template).split(".")[0]