Skip to content

Commit 0063073

Browse files
committed
fix: uncomment global team scope
1 parent e4bfc09 commit 0063073

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

app/Traits/HasOwningTeam.php

+1-1
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ trait HasOwningTeam
99
{
1010
protected static function bootHasOwningTeam(): void
1111
{
12-
// static::addGlobalScope(new TeamScope());
12+
static::addGlobalScope(new TeamScope());
1313

1414
static::creating(function ($model) {
1515
$model->team_id = auth()->user()->currentTeam->id;

0 commit comments

Comments
 (0)