Work on event files and event location and related

This commit is contained in:
Scott Idem
2021-10-22 17:25:04 -04:00
parent 70981e0c3f
commit decef795c2
4 changed files with 208 additions and 14 deletions

View File

@@ -571,7 +571,7 @@ def get_event_id_w_for_type_id(
sql = f"""
SELECT `for`.id AS 'for_id', `for`.id_random AS 'for_id_random', `for`.event_id AS event_id
FROM :for_type AS `for`
FROM {for_type} AS `for`
WHERE `for`.id = :for_id
LIMIT 1;
"""