This commit is contained in:
philipp lang 2023-05-03 21:26:27 +02:00
parent 1632da9b61
commit 5357106187
1 changed files with 2 additions and 4 deletions

View File

@ -19,11 +19,9 @@ class FullMemberAction
'courses' => CoursesOfAction::run($api, $memberId), 'courses' => CoursesOfAction::run($api, $memberId),
]); ]);
if (!$redisKey) { if ($redisKey) {
return $fullMember;
}
Redis::rpush($redisKey, $fullMember->toJson()); Redis::rpush($redisKey, $fullMember->toJson());
}
return $fullMember; return $fullMember;
} }