Skip to content

Commit

Permalink
Merge pull request #90 from georgejkaye/fix-database-syntax-error
Browse files Browse the repository at this point in the history
[fix] Prevent database syntax error
  • Loading branch information
georgejkaye authored Feb 5, 2024
2 parents 89d0243 + 6aaa890 commit 2b495d2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion api/src/cookiebreaks/core/database.py
Original file line number Diff line number Diff line change
Expand Up @@ -397,8 +397,8 @@ def get_claim_objects(filters: ClaimFilters = ClaimFilters()) -> list[Claim]:
FROM claim
INNER JOIN claimitem ON claim.claim_id = claimitem.claim_id
INNER JOIN break ON claimitem.break_id = break.break_id
{where_statement}
GROUP BY claim.claim_id
{where_statement}
ORDER BY claim.claim_date ASC
"""
cur.execute(claims_statement)
Expand Down

0 comments on commit 2b495d2

Please sign in to comment.