From 75df4255a1ccad3a4ef5b60f1e94459a337f43a6 Mon Sep 17 00:00:00 2001 From: Anton Kartsev Date: Tue, 5 Jun 2018 16:25:57 +0300 Subject: [PATCH] Update AmoCrmApiServiceProvider.php fixed config path --- src/AmoCrmApiServiceProvider.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/AmoCrmApiServiceProvider.php b/src/AmoCrmApiServiceProvider.php index 2bb6441..6ce67b3 100644 --- a/src/AmoCrmApiServiceProvider.php +++ b/src/AmoCrmApiServiceProvider.php @@ -96,7 +96,7 @@ private function registerRequestHandler() { $this->app->singleton(RequestHandler::class, function ($app) { $request = new \linkprofit\AmoCRM\RequestHandler(); - $request->setSubdomain(config('amocrm.domain')); + $request->setSubdomain(config('amocrm-api.domain')); return $request; });