Skip to content

Commit 3cd150a

Browse files
committed
fix: fixed bug in internal/event which caused a crash on startup
1 parent 8d83f8b commit 3cd150a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

app/internal/event.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -142,7 +142,7 @@ def add_countries_to_db(session: Session) -> None:
142142
session.commit()
143143

144144

145-
@functools.lru_cache
145+
@functools.lru_cache()
146146
def get_all_countries_names(session: Session) -> List[str]:
147147
"""
148148
Returns a cached list of the countries names.

0 commit comments

Comments
 (0)