Skip to content

Commit

Permalink
wip
Browse files Browse the repository at this point in the history
  • Loading branch information
oliverbj committed Jan 24, 2023
1 parent 5c42c74 commit 992796b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Cord.php
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ class Cord
public function __construct()
{
//If the company, server and enterprise are not set in the config file, throw an exception.
if (! config('cord.eadapter_connection.company') || ! config('cord.eadapter_connection.server') || ! config('cord.eadapter_connection.enterprise')) {
if (! config('cord.CW1_EADAPTER_URL') || ! config('cord.CW1_EADAPTER_USERNAME') || ! config('cord.CW1_EADAPTER_PASSWORD')) {
throw new \Exception('Company, server and enterprise must be set in the config file.');
}

Expand Down

0 comments on commit 992796b

Please sign in to comment.