wip
This commit is contained in:
@@ -55,7 +55,6 @@ class Change extends Component
|
||||
$this->host = $settings->fqdn;
|
||||
}
|
||||
$this->parameters = getParameters();
|
||||
$this->github_app = GithubApp::where('uuid', $this->parameters['github_app_uuid'])->first();
|
||||
$this->is_system_wide = $this->github_app->is_system_wide;
|
||||
}
|
||||
public function createGithubApp()
|
||||
|
||||
@@ -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();
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user