Skip to content

Commit

Permalink
new uuid research
Browse files Browse the repository at this point in the history
  • Loading branch information
zMardone committed Sep 26, 2023
1 parent 7169637 commit 0fa3cc4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion connect/api/v2/projects/serializers.py
Original file line number Diff line number Diff line change
Expand Up @@ -215,7 +215,7 @@ def create(self, validated_data):

project_template_type = None
if is_template:
project_template_type_queryset = TemplateType.objects.filter(name=extra_data.get("template_type"))
project_template_type_queryset = TemplateType.objects.filter(uuid=extra_data.get("uuid"))
if project_template_type_queryset.exists():
project_template_type = project_template_type_queryset.first()

Expand Down

0 comments on commit 0fa3cc4

Please sign in to comment.