Skip to content

Commit

Permalink
fix: expose empty changes with a change reason to the response
Browse files Browse the repository at this point in the history
  • Loading branch information
sirtawast committed Oct 8, 2024
1 parent 2ab7420 commit 7fba1b8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion backend/benefit/applications/services/change_history.py
Original file line number Diff line number Diff line change
Expand Up @@ -282,7 +282,7 @@ def create_change_set(app_diff, employee_diffs):
employee_diff.changes, EXCLUDED_EMPLOYEE_FIELDS, True, delta_time
)

return change_set if len(change_set["changes"]) > 0 else None
return change_set

change_sets = list(
filter(
Expand Down

0 comments on commit 7fba1b8

Please sign in to comment.