Skip to content

Commit

Permalink
removed $this->organizationType from OAuth2Client (debulking), and in…
Browse files Browse the repository at this point in the history
…stead set default Organization/setType function with dept
  • Loading branch information
ivanwilliammd committed Mar 22, 2024
1 parent 96dd26f commit 7dd92d7
Showing 1 changed file with 0 additions and 4 deletions.
4 changes: 0 additions & 4 deletions src/OAuth2Client.php
Original file line number Diff line number Diff line change
Expand Up @@ -27,8 +27,6 @@ class OAuth2Client

public string $organization_id;

public string $organization_type;

public function __construct()
{
$dotenv = Dotenv::createUnsafeImmutable(getcwd());
Expand All @@ -54,8 +52,6 @@ public function __construct()
$this->organization_id = getenv('ORGID_DEV');
}

$this->organization_type = getenv('ORG_TYPE') ?: 'dept';

if ($this->organization_id == null) {
return 'Add your organization_id at environment first';
}
Expand Down

0 comments on commit 7dd92d7

Please sign in to comment.