mirror of
https://gitlab.com/CIEFWorldwideSdnBhd/exchange-2.0.git
synced 2026-08-25 07:23:59 +00:00
Getting ready for production deployment for phase 2 of Voucherify
This commit is contained in:
@@ -82,7 +82,7 @@ class AuthenticationProcessor
|
||||
}
|
||||
|
||||
//cief todo: case study 1
|
||||
//$this->checkMilestonesForRewardProcessor->execute($user, [Milestones::MILESTONE_1]);
|
||||
$this->checkMilestonesForRewardProcessor->execute($user, [Milestones::MILESTONE_1]);
|
||||
|
||||
return ['access_token' => $this->generatesAuthenticationToken->execute($user), 'redirect_url' => $this->authenticationRedirect->url($user)];
|
||||
}
|
||||
|
||||
@@ -47,8 +47,8 @@ class CreatesVoucherifyVoucher
|
||||
"metadata" => [
|
||||
"email" => $user->email
|
||||
],
|
||||
"start_date" => $startDate->format('Y-m-d H:i:s'),
|
||||
"expiration_date" => $expirationDate->format('Y-m-d H:i:s')
|
||||
"start_date" => $startDate->toIso8601String(),
|
||||
"expiration_date" => $expirationDate->toIso8601String()
|
||||
]);
|
||||
return $result;
|
||||
} catch (\Voucherify\ClientException $e) {
|
||||
|
||||
Reference in New Issue
Block a user