Skip to content

Commit

Permalink
Merge pull request #93 from georgejkaye/fix-datetime-error
Browse files Browse the repository at this point in the history
[fix] Fix break objects again
  • Loading branch information
georgejkaye authored Feb 19, 2024
2 parents afd5145 + 3946417 commit 0ff83a3
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions api/src/cookiebreaks/core/database.py
Original file line number Diff line number Diff line change
Expand Up @@ -292,7 +292,7 @@ def get_specific_breaks(breaks: list[int]) -> list[Break]:
arrow_or_none(break_announced, "Europe/London"),
break_cost,
arrow_or_none(host_reimbursed, "Europe/London"),
claim_date,
arrow_or_none(claim_date, "Europe/London"),
claim_id,
arrow_or_none(claim_reimbursed, "Europe/London"),
)
Expand Down Expand Up @@ -356,7 +356,7 @@ def get_break_objects(filters: BreakFilters = BreakFilters()) -> list[Break]:
claim_id,
arrow_or_none(claim_reimbursed, "Europe/London"),
)
break_objs.append(break_objs)
break_objs.append(break_obj)
return break_objs


Expand Down

0 comments on commit 0ff83a3

Please sign in to comment.