Skip to content

Commit

Permalink
Merge pull request #17 from Comm-com/development
Browse files Browse the repository at this point in the history
upd
  • Loading branch information
wakirin authored Sep 24, 2024
2 parents 9657f5e + 9c55544 commit fc69043
Showing 1 changed file with 7 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -12,12 +12,19 @@
use Illuminate\Http\Client\RequestException;
use Illuminate\Http\Client\Response;
use Illuminate\Support\Facades\Http;
use Illuminate\Support\Facades\Log;

class XConnectProvider extends BaseProvider
{
public function lookup(MnpRequestData $requestData): void
{
$url = str_replace('{number}', $requestData->number, config('services.xconnect.lookup_url'));

Log::debug('XConnectProvider lookup', [
'url' => $url,
'requestData' => $requestData,
]);

$response = Http::withHeaders($this->getHeaders())
->timeout(10)
->throw(function (Response $response, RequestException $e) use ($requestData) {
Expand Down

0 comments on commit fc69043

Please sign in to comment.