Merge pull request #6844 from pixelfed/fix/phpstan-static-method-not-found

fix: remove call to non-existent PollService::storyPoll()
pull/6847/head
Shlee 4 weeks ago committed by GitHub
commit 2bc40e38f8
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

@ -61,7 +61,7 @@ class StoryService
'media' => url(Storage::url($s->path)),
'can_reply' => (bool) $s->can_reply,
'can_react' => (bool) $s->can_react,
'poll' => $s->type == 'poll' ? PollService::storyPoll($s->id) : null,
'poll' => null,
];
})
->toArray();

Loading…
Cancel
Save