fix copilots not being fetched
This commit is contained in:
parent
c58e2c5d74
commit
f7ff9d27d2
|
@ -88,7 +88,7 @@ async def get_copilot(copilot_id: str) -> Copilots:
|
|||
|
||||
async def get_copilots(user: str) -> List[Copilots]:
|
||||
rows = await db.fetchall(
|
||||
"SELECT * FROM copilot.newer_copilots WHERE user = ?", (user,)
|
||||
'SELECT * FROM copilot.newer_copilots WHERE "user" = ?', (user,)
|
||||
)
|
||||
return [Copilots(**row) for row in rows]
|
||||
|
||||
|
|
Loading…
Reference in New Issue
Block a user