Skip to content

Commit

Permalink
Merge pull request #331 from getyoti/SDK-2347-ph-p-aml-advanced-check…
Browse files Browse the repository at this point in the history
…s-crashing-on-retrieval

Sdk 2347 ph p aml advanced checks crashing on retrieval
  • Loading branch information
mehmet-yoti authored Jul 14, 2023
2 parents 06eba57 + c8f546a commit 5ff396f
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ public function __construct(array $searchConfig)
$this->apiKey = $searchConfig['api_key'];
$this->monitoring = $searchConfig['monitoring'];
$this->clientRef = $searchConfig['client_ref'];
$this->tags = json_decode($searchConfig['tags'], true);
$this->tags = array_key_exists('tags', $searchConfig) ? json_decode($searchConfig['tags'], true) : [];
}

/**
Expand Down

0 comments on commit 5ff396f

Please sign in to comment.