Skip to content

Commit

Permalink
fixing typo
Browse files Browse the repository at this point in the history
  • Loading branch information
dantownsend committed Oct 29, 2019
1 parent 776744f commit 4146ab3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion piccolo_api/crud/endpoints.py
Original file line number Diff line number Diff line change
Expand Up @@ -174,7 +174,7 @@ async def _get_single(self, row_id: int):
try:
row = await self.table.select().where(
self.table.id == row_id
).first.run()
).first().run()
except ValueError:
raise HTTPException(404, 'Unable to find a row with that ID.')

Expand Down

0 comments on commit 4146ab3

Please sign in to comment.