resale license check needs to be updated

This commit is contained in:
Andras Bacsai
2023-11-02 14:10:29 +01:00
parent 3bffe3f010
commit a0031efce0
5 changed files with 13 additions and 14 deletions

View File

@@ -32,7 +32,7 @@ class CheckLicense extends Component
$this->settings->save();
if ($this->settings->resale_license) {
try {
resolve(CheckResaleLicense::class)();
CheckResaleLicense::run();
$this->emit('reloadWindow');
} catch (\Throwable $e) {
session()->flash('error', 'Something went wrong. Please contact support. <br>Error: ' . $e->getMessage());