mirror of
https://github.com/tiennm99/coolify.git
synced 2026-09-20 04:23:16 +00:00
use one constants file
This commit is contained in:
29 files changed
+30
-30
No files matched your search
+1
-1
@@ -172,7 +172,7 @@ class Team extends Model implements SendsDiscord, SendsEmail
|
||||
{
|
||||
return Attribute::make(
|
||||
get: function () {
|
||||
if (config('coolify.self_hosted') || $this->id === 0) {
|
||||
if (config('constants.coolify.self_hosted') || $this->id === 0) {
|
||||
$subscription = 'self-hosted';
|
||||
} else {
|
||||
$subscription = data_get($this, 'subscription');
|
||||
|
||||
Reference in new issue
Block a user