This commit is contained in:
Andras Bacsai
2023-05-08 21:56:44 +02:00
parent d3bf1137d7
commit ec3fe284b6
6 changed files with 68 additions and 20 deletions

View File

@@ -22,6 +22,6 @@ class GithubApp extends BaseModel
}
static public function private()
{
return GithubApp::where('team_id', session('currentTeam')->id)->where('is_public', false)->get();
return GithubApp::where('team_id', session('currentTeam')->id)->where('is_public', false)->whereNotNull('app_id')->whereNotNull('installation_id')->get();
}
}