Skip to content

Commit

Permalink
✨ Add possibility to use advanced lush options
Browse files Browse the repository at this point in the history
  • Loading branch information
Vmadmax committed Jul 8, 2020
1 parent e512260 commit 62b2554
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/CreatesRequest.php
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ trait CreatesRequest
*/
public function sendRequest($url)
{
return Lush::headers(config('opcache.headers'))->options(['verify_ssl' => config('opcache.verify_ssl'),'verify_host' => config('opcache.verify_host',2)])->get(config('opcache.url').'/opcache-api/'.$url,
return Lush::headers(config('opcache.headers'))->options(array_merge(['verify_ssl' => config('opcache.verify_ssl'),'verify_host' => config('opcache.verify_host',2)]), config('opcache.options'))->get(config('opcache.url').'/opcache-api/'.$url,
['key' => Crypt::encrypt('opcache')]
);
}
Expand Down

0 comments on commit 62b2554

Please sign in to comment.