Fix form cached subscribe status
Este cometimento está contido em:
ascendente
2bc319424c
cometimento
a5c7ed0d64
|
|
@ -146,8 +146,8 @@ class Form extends Model implements CachableAttributes
|
|||
|
||||
public function getIsProAttribute()
|
||||
{
|
||||
return $this->remember('is_pro', 15 * 60, function (): bool {
|
||||
return optional($this->workspace)->is_pro;
|
||||
return $this->remember('is_pro', 15 * 60, function (): ?bool {
|
||||
return optional($this->workspace)->is_pro === true;
|
||||
});
|
||||
}
|
||||
|
||||
|
|
|
|||
Carregando…
Criar uma nova questão referindo esta