Skip to content

Commit

Permalink
Update AmoCrmApiServiceProvider.php
Browse files Browse the repository at this point in the history
fixed config path
  • Loading branch information
bigperson authored Jun 5, 2018
1 parent bde7a3f commit 75df425
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/AmoCrmApiServiceProvider.php
Original file line number Diff line number Diff line change
Expand Up @@ -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;
});
Expand Down

0 comments on commit 75df425

Please sign in to comment.