Skip to content

Commit 09e9f95

Browse files
authored
Update hooks.rst (#272)
1 parent 4a1d5f2 commit 09e9f95

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

docs/source/crud/hooks.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ Define a method, and register it with :class:`PiccoloCRUD <piccolo_api.crud.endp
2727
2828
2929
# set movie rating to 20 before saving
30-
async def set_movie_rating_10(row: Movie):
30+
async def set_movie_rating_20(row: Movie):
3131
row.rating = 20
3232
return row
3333

0 commit comments

Comments
 (0)