mirror of
https://gitlab.com/CIEFWorldwideSdnBhd/exchange-2.0.git
synced 2026-08-27 16:34:00 +00:00
Merge branch 'affiliate-program' of https://gitlab.com/CIEFWorldwideSdnBhd/exchange-2.0 into vapor/staging
This commit is contained in:
@@ -19,6 +19,8 @@ class TracksAffiliateRegistration
|
||||
*/
|
||||
public function execute(User $user, ?string $code = null): ?Affiliate
|
||||
{
|
||||
// Log::info('TracksAffiliateRegistration::execute', ['user' => $user, 'code' => $code]);
|
||||
|
||||
if (!$code || !$this->isValidCode($code)) {
|
||||
Log::info('Code is not valid', ['code' => $code]);
|
||||
return null;
|
||||
|
||||
Reference in New Issue
Block a user