Skip to content

Commit 845ae3a

Browse files
committed
Fixed param error
1 parent aa12088 commit 845ae3a

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

gs/backend/data/resources/utils.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,7 @@
22

33
from gs.backend.data.resources.callsigns import callsigns
44
from gs.backend.data.resources.main_commands import main_commands
5+
from gs.backend.data.tables.aro_user_tables import AROUserCallsigns
56
from gs.backend.data.tables.main_tables import MainCommand
67

78

@@ -20,7 +21,7 @@ def add_callsigns(session: Session) -> None:
2021
"""
2122
Setup the valid callsigns to the database
2223
"""
23-
query = select(MainCommand).limit(1)
24+
query = select(AROUserCallsigns).limit(1)
2425
result = session.exec(query).first()
2526
if not result:
2627
session.add_all(callsigns())

0 commit comments

Comments
 (0)