Skip to content

Commit

Permalink
Merge pull request #3060 from bolt/bugfix/api-post-relation
Browse files Browse the repository at this point in the history
Update Relation.php
  • Loading branch information
bobdenotter authored Jan 25, 2022
2 parents e0c3059 + 2578da3 commit 9abdaf0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Entity/Relation.php
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@
* normalizationContext={"groups"={"get_relation"}},
* collectionOperations={
* "get"={"security"="is_granted('api:get')"},
* "post"={"security"="is_granted(api:post)"}
* "post"={"security"="is_granted('api:post')"}
* },
* itemOperations={
* "get"={"security"="is_granted('api:get')"},
Expand Down

0 comments on commit 9abdaf0

Please sign in to comment.