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
1 changed files with 1 additions and 1 deletions

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());
}
}