We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 1bfbbcc commit 67bd69cCopy full SHA for 67bd69c
src/Api/PostAttributes.php
@@ -29,8 +29,6 @@ public function __construct(BestAnswerRepository $bestAnswerRepository)
29
30
public function __invoke(PostSerializer $serializer, Post $post, array $attributes): array
31
{
32
- resolve('log')->info($this->bestAnswerRepository->canSelectPostAsBestAnswer($serializer->getActor(), $post));
33
-
34
$attributes['canSelectAsBestAnswer'] = $this->bestAnswerRepository->canSelectPostAsBestAnswer($serializer->getActor(), $post);
35
36
return $attributes;
0 commit comments