wip: boarding

This commit is contained in:
Andras Bacsai committed 2023-08-22 17:44:49 +02:00
1 parent 2414ddd360
commit b39ca51d41
71 files changed
+694 -137

No files matched your search

+1 -1
View File
@@ -17,7 +17,7 @@ class S3Storage extends BaseModel
static public function ownedByCurrentTeam(array $select = ['*'])
{
$selectArray = collect($select)->concat(['id']);
return S3Storage::whereTeamId(auth()->user()->currentTeam()->id)->select($selectArray->all())->orderBy('name');
return S3Storage::whereTeamId(currentTeam()->id)->select($selectArray->all())->orderBy('name');
}
public function awsUrl()