Minor fixes
This commit is contained in:
parent
7d871edd4e
commit
2f3b0e51f0
|
|
@ -36,7 +36,8 @@ class SubdomainController extends BaseController
|
|||
'lb',
|
||||
'shopify',
|
||||
'beta',
|
||||
'prometh'
|
||||
'prometh',
|
||||
'license',
|
||||
];
|
||||
|
||||
public function __construct()
|
||||
|
|
|
|||
|
|
@ -64,7 +64,7 @@ class Ninja
|
|||
'license' => config('ninja.license'),
|
||||
];
|
||||
|
||||
$data = trim(CurlUtils::post('https://license.invoiceninja.com/api/check', $data));
|
||||
$data = trim(CurlUtils::post('https://license.invoicing.co/api/check', $data));
|
||||
$data = json_decode($data);
|
||||
|
||||
if ($data && property_exists($data, 'message') && $data->message == sha1(config('ninja.license'))) {
|
||||
|
|
|
|||
Loading…
Reference in New Issue