Changes auto-committed by Conductor

This commit is contained in:
Andras Bacsai
2025-10-17 23:04:24 +02:00
parent 691fdffa8b
commit f7427fdea0
8 changed files with 334 additions and 37 deletions

View File

@@ -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)