Skip to content

Commit

Permalink
Update CommerceSerializer to standardize project description
Browse files Browse the repository at this point in the history
- Changed the description field in CommerceSerializer to a static value "Commerce project" for consistency across commerce-related instances.
  • Loading branch information
ericosta-dev committed Dec 4, 2024
1 parent 7821930 commit befeebf
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion connect/api/v2/commerce/serializers.py
Original file line number Diff line number Diff line change
Expand Up @@ -78,7 +78,7 @@ def publish_create_project_message(self, instance: Project, user: User):
"organization_id": instance.organization.inteligence_organization,
"extra_fields": {},
"authorizations": authorizations,
"description": instance.description,
"description": "Commerce project",
"organization_uuid": str(instance.organization.uuid),
"brain_on": True,
"project_type": instance.project_type.value,
Expand Down

0 comments on commit befeebf

Please sign in to comment.