Skip to content

Commit

Permalink
Fixed: call is_api_token_valid() on bool.
Browse files Browse the repository at this point in the history
  • Loading branch information
Dan0sz committed Jul 16, 2024
1 parent 856f64e commit feb0248
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Admin/Settings/Page.php
Original file line number Diff line number Diff line change
Expand Up @@ -125,7 +125,7 @@ public function __construct() {
'type' => 'button',
'disabled' => empty( $settings[ 'domain_name' ] ) ||
empty( $settings[ 'api_token' ] ) ||
$this->client instanceof Client ||
! $this->client instanceof Client ||
$this->client->is_api_token_valid(),
],
],
Expand Down

0 comments on commit feb0248

Please sign in to comment.