Skip to content

Commit

Permalink
SDK-2535 resolved error in retrieve session in watchlistAdvancedCaCheck
Browse files Browse the repository at this point in the history
  • Loading branch information
mehmet-yoti committed Jan 10, 2025
1 parent 9f9b977 commit 1615e7f
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 2 deletions.
3 changes: 2 additions & 1 deletion examples/digitalidentity/resources/views/dbs.blade.php
Original file line number Diff line number Diff line change
Expand Up @@ -84,6 +84,7 @@ function onErrorListener(...data) {
await Yoti.ready()
await onReadyToStart()
}</script>
<script src="https://www.yoti.com/share/client/v2" onload="onClientLoaded()"></script>
<script src="https://www.public.stg1.dmz.yoti.com/share/client/v2" onload="onClientLoaded()"></script>

</body>
</html>
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,9 @@ public function __construct(array $searchConfig)
$this->apiKey = $searchConfig['api_key'];
$this->monitoring = $searchConfig['monitoring'];
$this->clientRef = $searchConfig['client_ref'];
$this->tags = array_key_exists('tags', $searchConfig) ? json_decode($searchConfig['tags'], true) : [];
$this->tags = array_key_exists('tags', $searchConfig) && is_string($searchConfig['tags'])
? json_decode($searchConfig['tags'], true)
: (array_key_exists('tags', $searchConfig) && is_array($searchConfig['tags']) ? $searchConfig['tags'] : []);
}

/**
Expand Down

0 comments on commit 1615e7f

Please sign in to comment.