mirror of
https://github.com/tiennm99/coolify.git
synced 2026-04-19 19:20:55 +00:00
Changes auto-committed by Conductor
This commit is contained in:
@@ -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