Update ResultsTransformer.php

This commit is contained in:
Shlee 2022-05-17 20:11:01 +09:30 committed by GitHub
parent ae595c5611
commit 2e50811f2f
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -36,7 +36,7 @@ class ResultsTransformer extends Fractal\TransformerAbstract
public function includeTags($results)
{
$hashtags = $status->hashtags;
$hashtags = $results->hashtags;
return $this->collection($hashtags, new HashtagTransformer());
}
}