Skip to content

Commit

Permalink
Fix issue retrieving store URL + currency
Browse files Browse the repository at this point in the history
  • Loading branch information
samerton committed Jul 15, 2022
1 parent cdd7304 commit 50341ff
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion upload/modules/Tebex/classes/Buycraft.php
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,7 @@ public static function updateInformation($server_key = null, $db = null): array
$result = HttpClient::get('https://plugin.tebex.io/information', ['headers' => ['X-Tebex-Secret' => $server_key]]);

if (!$result->hasError()) {
$result = $result->json()->response;
$result = $result->json();

// Update database
if (isset($result->account->domain)) {
Expand Down
2 changes: 1 addition & 1 deletion upload/modules/Tebex/module.php
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ public function __construct($language, $buycraft_language, $pages, $cache){

$name = 'Tebex';
$author = '<a href="https://samerton.me" target="_blank" rel="nofollow noopener">Samerton</a>';
$module_version = '1.2.1';
$module_version = '1.2.2';
$nameless_version = '2.0.0-pr13';

parent::__construct($this, $name, $author, $module_version, $nameless_version);
Expand Down

0 comments on commit 50341ff

Please sign in to comment.