mirror of
https://github.com/Poniverse/Pony.fm.git
synced 2025-02-07 06:16:43 +01:00
Fixed
This commit is contained in:
parent
6d8c7d9a38
commit
4fb9a6b737
1 changed files with 1 additions and 1 deletions
|
@ -119,7 +119,7 @@ class RefreshCache extends Command {
|
|||
$resources[$type][$id] = $resource;
|
||||
}
|
||||
|
||||
foreach (DB::table('followers') as $follower) {
|
||||
foreach (DB::table('followers')->get() as $follower) {
|
||||
$userResource = $this->getUserCacheItem($cacheItems, $follower->user_id, 'artist', $follower->artist_id);
|
||||
$userResource['is_followed'] = true;
|
||||
$cacheItems[$follower->user_id]['artist'][$follower->artist_id] = $userResource;
|
||||
|
|
Loading…
Reference in a new issue