Skip to content

Commit

Permalink
feat: support GET and PUT for split_expense_grouping in export sett…
Browse files Browse the repository at this point in the history
…ings
  • Loading branch information
JustARatherRidiculouslyLongUsername committed Nov 22, 2024
1 parent b24e6c6 commit cd0b8e6
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion apps/workspaces/apis/export_settings/serializers.py
Original file line number Diff line number Diff line change
Expand Up @@ -85,6 +85,7 @@ class ExpenseGroupSettingsSerializer(serializers.ModelSerializer):
corporate_credit_card_expense_group_fields = serializers.ListField(allow_null=True, required=False)
ccc_export_date_type = serializers.CharField(allow_null=True, allow_blank=True, required=False)
ccc_expense_state = serializers.CharField(allow_null=True, allow_blank=True, required=False)
split_expense_grouping = serializers.CharField(allow_null=False, allow_blank=False, required=True)

class Meta:
model = ExpenseGroupSettings
Expand All @@ -94,7 +95,8 @@ class Meta:
'expense_state',
'corporate_credit_card_expense_group_fields',
'ccc_export_date_type',
'ccc_expense_state'
'ccc_expense_state',
'split_expense_grouping'
]


Expand Down

0 comments on commit cd0b8e6

Please sign in to comment.