Skip to content

Commit

Permalink
fix: server limit check
Browse files Browse the repository at this point in the history
  • Loading branch information
andrasbacsai committed Nov 5, 2024
1 parent f3c35c7 commit 904ffc8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion app/Models/Team.php
Original file line number Diff line number Diff line change
Expand Up @@ -165,7 +165,7 @@ public static function serverLimit()
return 0;
}

return data_get($team, 'limits.serverLimit', 0);
return data_get($team, 'limits', 0);
}

public function limits(): Attribute
Expand Down

0 comments on commit 904ffc8

Please sign in to comment.