Skip to content

Commit 571b555

Browse files
committed
docs: add missing security yaml documentation
1 parent 7bb22e1 commit 571b555

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

core/security.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -220,7 +220,7 @@ App\Entity\Book:
220220
collectionOperations:
221221
get: ~
222222
post:
223-
security_post_denormalize: 'is_granted("BOOK_CREATE"), object'
223+
security_post_denormalize: 'is_granted("BOOK_CREATE", object)'
224224
itemOperations:
225225
get:
226226
security: 'is_granted("BOOK_READ", object)'

0 commit comments

Comments
 (0)