diff --git a/packages/nft-maker/src/Services/SetupService.php b/packages/nft-maker/src/Services/SetupService.php index a6cf2f7..53fa11d 100644 --- a/packages/nft-maker/src/Services/SetupService.php +++ b/packages/nft-maker/src/Services/SetupService.php @@ -31,7 +31,7 @@ public function setApiKey($api_key) { try { $this->tatumConnector->setApiKey($api_key); $api_key_resp = $this->tatumConnector->getApiVersion(); - $isActive = $api_key_resp['status'] === 'ACTIVE' && $api_key_resp['expiration'] >= round(microtime(true) * 1000); + $isActive = $api_key_resp['expiration'] >= round(microtime(true) * 1000); if (($api_key_resp['testnet'] === false && $api_key_resp['price'] !== 0 && $isActive) || ($api_key_resp['testnet'] === true && $isActive)) { update_option(TATUM_SLUG . '_api_key', $api_key); return [ diff --git a/plugins/tatum/src/index.php b/plugins/tatum/src/index.php index 0024955..2cff940 100644 --- a/plugins/tatum/src/index.php +++ b/plugins/tatum/src/index.php @@ -8,7 +8,7 @@ * Description: NFT Maker is the easiest and fastest free plugin to work with NFTs without any blockchain development experience. * Author: Lukas Kotol * Author URI: https://t.me/LukasKotol - * Version: 2.0.35 + * Version: 2.0.36 * Text Domain: tatum * Domain Path: /languages * License: MIT diff --git a/plugins/tatum/wordpress.org/README.wporg.txt b/plugins/tatum/wordpress.org/README.wporg.txt index c202ea5..114c3de 100755 --- a/plugins/tatum/wordpress.org/README.wporg.txt +++ b/plugins/tatum/wordpress.org/README.wporg.txt @@ -217,6 +217,8 @@ Added user agent header = 2.0.35 = Added user agent header - edit += 2.0.36 = +Fixed setup API key error == Upgrade Notice == = 1.0.0 =