diff --git a/examples/digitalidentity/app/Http/Controllers/ReceiptController.php b/examples/digitalidentity/app/Http/Controllers/ReceiptController.php index 39fe75a6..275b524f 100644 --- a/examples/digitalidentity/app/Http/Controllers/ReceiptController.php +++ b/examples/digitalidentity/app/Http/Controllers/ReceiptController.php @@ -17,9 +17,7 @@ public function show(Request $request, DigitalIdentityClient $client, ?LoggerInt $logger->warning("Unknown Content Type parsing as a String"); $shareReceipt = $client->fetchShareReceipt($request->query('ReceiptID')); - $profile = $shareReceipt->getProfile(); - return view('receipt', [ 'fullName' => $profile->getFullName(), 'selfie' => $profile->getSelfie(), diff --git a/examples/digitalidentity/resources/views/partial/report.blade.php b/examples/digitalidentity/resources/views/partial/report.blade.php index e376e5f9..e9c655f7 100644 --- a/examples/digitalidentity/resources/views/partial/report.blade.php +++ b/examples/digitalidentity/resources/views/partial/report.blade.php @@ -38,4 +38,17 @@ @endforeach +@else +
+ {{ $key }} + + {!! json_encode($value, JSON_PRETTY_PRINT) !!} ++ |
+