mirror of
https://github.com/tiennm99/coolify.git
synced 2026-10-03 05:19:37 +00:00
fix: should note delete personal teams
This commit is contained in:
1 parent
f3a279be26
commit
2ffc3f497b
7 files changed
+76
-50
No files matched your search
@@ -144,7 +144,6 @@ class Team extends Model implements SendsDiscord, SendsEmail
|
||||
$sources = collect([]);
|
||||
$github_apps = $this->hasMany(GithubApp::class)->whereisPublic(false)->get();
|
||||
$gitlab_apps = $this->hasMany(GitlabApp::class)->whereisPublic(false)->get();
|
||||
// $bitbucket_apps = $this->hasMany(BitbucketApp::class)->get();
|
||||
$sources = $sources->merge($github_apps)->merge($gitlab_apps);
|
||||
return $sources;
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user