mirror of
https://github.com/tiennm99/coolify.git
synced 2026-10-12 20:15:36 +00:00
fix
This commit is contained in:
1 parent
ecd16de53f
commit
87547d5622
3 files changed
+16
-9
No files matched your search
@@ -41,10 +41,10 @@ class GithubApp extends BaseModel
|
||||
}
|
||||
static public function public()
|
||||
{
|
||||
return GithubApp::where('team_id', session('currentTeam')->id)->where('is_public', true)->get();
|
||||
return GithubApp::whereTeamId(session('currentTeam')->id)->whereisPublic(true)->whereNotNull('app_id')->get();
|
||||
}
|
||||
static public function private()
|
||||
{
|
||||
return GithubApp::where('team_id', session('currentTeam')->id)->where('is_public', false)->get();
|
||||
return GithubApp::whereTeamId(session('currentTeam')->id)->whereisPublic(false)->whereNotNull('app_id')->get();
|
||||
}
|
||||
}
|
||||
Reference in new issue
Block a user