Skip to content

Commit

Permalink
Only getApp if app found
Browse files Browse the repository at this point in the history
  • Loading branch information
KodeStar committed Apr 2, 2022
1 parent 9bc9c48 commit 758c174
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
4 changes: 3 additions & 1 deletion app/Jobs/ProcessApps.php
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,9 @@ public function handle()
foreach ($items as $item) {
if (! file_exists(app_path('SupportedApps/'.Item::nameFromClass($item->class)))) {
$app = Application::where('class', $item->class)->first();
Application::getApp($app->appid);
if ($app) {
Application::getApp($app->appid);
}
}
}
}
Expand Down
2 changes: 1 addition & 1 deletion config/app.php
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@
*/

'name' => env('APP_NAME', 'Heimdall'),
'version' => '2.4.9',
'version' => '2.4.10',

/*
|--------------------------------------------------------------------------
Expand Down

0 comments on commit 758c174

Please sign in to comment.