Skip to content

Commit

Permalink
fixed issue with no app template
Browse files Browse the repository at this point in the history
  • Loading branch information
DevilsAutumn committed Oct 25, 2024
1 parent d8bce94 commit e27a978
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion backend/src/zango/api/platform/tenancy/v1/views.py
Original file line number Diff line number Diff line change
Expand Up @@ -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]
Expand Down

0 comments on commit e27a978

Please sign in to comment.