Skip to content

Commit

Permalink
v5.10.41
Browse files Browse the repository at this point in the history
  • Loading branch information
turbo124 committed Oct 18, 2024
1 parent dc25dbd commit 8a2d015
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 5 deletions.
2 changes: 1 addition & 1 deletion VERSION.txt
Original file line number Diff line number Diff line change
@@ -1 +1 @@
5.10.40
5.10.41
8 changes: 6 additions & 2 deletions app/Http/Controllers/LicenseController.php
Original file line number Diff line number Diff line change
Expand Up @@ -150,7 +150,7 @@ public function index()
}

nlog("No license key or environment not set to selfhost");

$error = [
'message' => ctrans('texts.invoice_license_or_environment', ['environment' => config('ninja.environment')]),
'errors' => new stdClass(),
Expand All @@ -173,8 +173,12 @@ public function v5ClaimLicense(string $license_key)
'product_id' => 3,
]);

$payload = $response->json();

nlog("Ninja Server Response");
nlog($payload);

if ($response->successful()) {
$payload = $response->json();

$account = auth()->user()->account;

Expand Down
4 changes: 2 additions & 2 deletions config/ninja.php
Original file line number Diff line number Diff line change
Expand Up @@ -17,8 +17,8 @@
'require_https' => env('REQUIRE_HTTPS', true),
'app_url' => rtrim(env('APP_URL', ''), '/'),
'app_domain' => env('APP_DOMAIN', 'invoicing.co'),
'app_version' => env('APP_VERSION', '5.10.40'),
'app_tag' => env('APP_TAG', '5.10.40'),
'app_version' => env('APP_VERSION', '5.10.41'),
'app_tag' => env('APP_TAG', '5.10.41'),
'minimum_client_version' => '5.0.16',
'terms_version' => '1.0.1',
'api_secret' => env('API_SECRET', false),
Expand Down

0 comments on commit 8a2d015

Please sign in to comment.