Skip to content

Commit

Permalink
Added recipientUsers include for CreateDiscussionController (#166)
Browse files Browse the repository at this point in the history
  • Loading branch information
iPurpl3x authored Nov 17, 2021
1 parent 9126159 commit 2a9b0f1
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions extend.php
Original file line number Diff line number Diff line change
Expand Up @@ -69,6 +69,10 @@
->addInclude(['recipientUsers', 'recipientGroups'])
->load(['recipientUsers', 'recipientGroups']),

(new Extend\ApiController(Controller\CreateDiscussionController::class))
->addInclude(['recipientUsers', 'recipientGroups'])
->load(['recipientUsers', 'recipientGroups']),

(new Extend\ApiController(Controller\ShowDiscussionController::class))
->addOptionalInclude(['oldRecipientUsers', 'oldRecipientGroups'])
->addInclude(['recipientUsers', 'recipientGroups'])
Expand Down

0 comments on commit 2a9b0f1

Please sign in to comment.