Skip to content

Commit

Permalink
Syntax error in JSON SELECT command for entities (#153)
Browse files Browse the repository at this point in the history
  • Loading branch information
edmondsgarrett committed May 9, 2023
1 parent bfb8d67 commit 635878f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion apcd-cms/src/apps/utils/apcd_database.py
Original file line number Diff line number Diff line change
Expand Up @@ -245,7 +245,7 @@ def get_registration_entities(reg_id=None):
registration_entities.file_pv,
registration_entities.file_mc,
registration_entities.file_pc,
registration_entities.file_dc,
registration_entities.file_dc
FROM registration_entities {f"WHERE registration_id = {str(reg_id)}" if reg_id is not None else ''}"""
cur = conn.cursor()
cur.execute(query)
Expand Down

0 comments on commit 635878f

Please sign in to comment.