Lint
This commit is contained in:
parent
1632da9b61
commit
5357106187
|
@ -19,12 +19,10 @@ class FullMemberAction
|
|||
'courses' => CoursesOfAction::run($api, $memberId),
|
||||
]);
|
||||
|
||||
if (!$redisKey) {
|
||||
return $fullMember;
|
||||
if ($redisKey) {
|
||||
Redis::rpush($redisKey, $fullMember->toJson());
|
||||
}
|
||||
|
||||
Redis::rpush($redisKey, $fullMember->toJson());
|
||||
|
||||
return $fullMember;
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue