Skip to content

Commit

Permalink
fix: missing optional include on ListDiscussionsController
Browse files Browse the repository at this point in the history
  • Loading branch information
imorland committed Oct 17, 2024
1 parent ab1723f commit d3c7343
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion extend.php
Original file line number Diff line number Diff line change
Expand Up @@ -103,7 +103,7 @@
->load(['bestAnswerPost', 'bestAnswerPost.user']),

(new Extend\ApiController(ListDiscussionsController::class))
->addOptionalInclude(['bestAnswerPost', 'bestAnswerUser', 'bestAnswerPost.discussion']),
->addOptionalInclude(['bestAnswerPost', 'bestAnswerUser', 'bestAnswerPost.discussion', 'bestAnswerPost.user']),

(new Extend\ApiController(UpdateDiscussionController::class))
->addOptionalInclude('tags'),
Expand Down

0 comments on commit d3c7343

Please sign in to comment.