diff --git a/src/US_Enrichment/Client.php b/src/US_Enrichment/Client.php index 7217968..0e8f59e 100644 --- a/src/US_Enrichment/Client.php +++ b/src/US_Enrichment/Client.php @@ -36,8 +36,7 @@ public function sendPropertyPrincipalLookup($smartyKey){ private function sendLookup(Lookup $lookup) { $request = $this->buildRequest($lookup); $response = $this->sender->send($request); - - echo($response->getPayload()); + $lookupResponse = $this->buildResponse($this->serializer->deserialize($response->getPayload())); $lookup->setResponse($lookupResponse);