Skip to content

Commit

Permalink
Remove: Serializer fields
Browse files Browse the repository at this point in the history
  • Loading branch information
zMardone committed Dec 29, 2023
1 parent 68339c9 commit 8ab8077
Showing 1 changed file with 0 additions and 8 deletions.
8 changes: 0 additions & 8 deletions connect/api/v2/projects/serializers.py
Original file line number Diff line number Diff line change
Expand Up @@ -49,15 +49,11 @@ class Meta:
"flow_count",
"contact_count",
"total_contact_count",
"menu",
"created_at",
"authorization",
"last_opened_on",
"project_type",
"flow_uuid",
"first_access",
"wa_demo_token",
"redirect_url",
"description",
]
ref_name = None
Expand Down Expand Up @@ -85,10 +81,6 @@ class Meta:
authorization = serializers.SerializerMethodField(style={"show": False})
last_opened_on = serializers.SerializerMethodField()
project_type = serializers.SerializerMethodField()
flow_uuid = serializers.SerializerMethodField()
first_access = serializers.SerializerMethodField()
wa_demo_token = serializers.SerializerMethodField()
redirect_url = serializers.SerializerMethodField()

def get_project_type(self, obj):
if obj.is_template:
Expand Down

0 comments on commit 8ab8077

Please sign in to comment.