diff --git a/fyle_accounting_mappings/views.py b/fyle_accounting_mappings/views.py index e471358..ce239c4 100644 --- a/fyle_accounting_mappings/views.py +++ b/fyle_accounting_mappings/views.py @@ -248,7 +248,7 @@ def get(self, request, *args, **kwargs): activity_attribute_count = ExpenseAttribute.objects.filter( attribute_type='CATEGORY', value='Activity', workspace_id=self.kwargs['workspace_id'], active=True).count() - if app_name in ('NETSUITE', 'INTACCT','SAGE_300_CRE', 'DYNAMICS_365_BUSINESS_CENTRAL'): + if app_name in ('NETSUITE', 'INTACCT', 'SAGE_300_CRE', 'DYNAMICS_365_BUSINESS_CENTRAL'): activity_mapping = CategoryMapping.objects.filter( source_category__value='Activity', workspace_id=self.kwargs['workspace_id']).first() else: