mirror of
https://github.com/tiennm99/coolify.git
synced 2026-10-12 22:14:26 +00:00
Changes auto-committed by Conductor
This commit is contained in:
1 parent
691fdffa8b
commit
f7427fdea0
8 files changed
+334
-37
No files matched your search
@@ -82,9 +82,10 @@ class PrivateKey extends BaseModel
|
||||
|
||||
public static function ownedByCurrentTeam(array $select = ['*'])
|
||||
{
|
||||
$teamId = currentTeam()->id;
|
||||
$selectArray = collect($select)->concat(['id']);
|
||||
|
||||
return self::whereTeamId(currentTeam()->id)->select($selectArray->all());
|
||||
return self::whereTeamId($teamId)->select($selectArray->all());
|
||||
}
|
||||
|
||||
public static function validatePrivateKey($privateKey)
|
||||
|
||||
Reference in new issue
Block a user