Skip to content

Commit

Permalink
updated changes for failure details
Browse files Browse the repository at this point in the history
  • Loading branch information
mehmet-yoti committed Jul 25, 2024
1 parent 5f9c5f7 commit f179e48
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ class SuccessController extends BaseController
public function show(Request $request, DocScanClient $client)
{
return view('success', [
'sessionResult' => $client->getSession($request->session()->get('YOTI_SESSION_ID')),
'sessionResult' => $client->getSession('894a51f1-f8fc-4986-85e7-fb8a56d61388'),
]);
}
}
2 changes: 1 addition & 1 deletion src/DocScan/Session/Retrieve/IdentityProfileResponse.php
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ class IdentityProfileResponse
*/
public function __construct(array $sessionData)
{
$this->subjectId = $sessionData['subject_id'];
$this->subjectId = $sessionData['subject_id'] ?? '';
$this->result = $sessionData['result'];

if (isset($sessionData['failure_reason'])) {
Expand Down

0 comments on commit f179e48

Please sign in to comment.