Skip to content

Commit

Permalink
Bug fix in process reimbursement (#381)
Browse files Browse the repository at this point in the history
  • Loading branch information
Ashutosh619-sudo committed Jun 26, 2024
1 parent 40fa535 commit 2490934
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion apps/xero/tasks.py
Original file line number Diff line number Diff line change
Expand Up @@ -814,7 +814,7 @@ def mark_paid_on_fyle(platform, payloads:dict, reports_to_be_marked, workspace_i
Expense.objects.filter(report_id__in=list(reports_to_be_marked), workspace_id=workspace_id, paid_on_fyle=False).update(paid_on_fyle=True)
except Exception as e:
error = traceback.format_exc()
target_messages = ['Report is not in APPROVED or PAYMENT_PROCESSING State', 'Permission denied to perform this action']
target_messages = ['Report is not in APPROVED or PAYMENT_PROCESSING State', 'Permission denied to perform this action.']
error_response = e.response
to_remove = set()

Expand Down

0 comments on commit 2490934

Please sign in to comment.