Skip to content

Commit

Permalink
Fix call to fetchrow.
Browse files Browse the repository at this point in the history
  • Loading branch information
jelmer committed Jan 28, 2023
1 parent 72210b6 commit 08f7914
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion janitor/publish.py
Original file line number Diff line number Diff line change
Expand Up @@ -3268,7 +3268,7 @@ async def get_run(conn: asyncpg.Connection, run_id):
run
WHERE id = $1
"""
row = await conn.fetch(query, run_id)
row = await conn.fetchrow(query, run_id)
if row:
return state.Run.from_row(row)
return None
Expand Down

0 comments on commit 08f7914

Please sign in to comment.