refactor observers, fix policy, add feature tests
This commit is contained in:
@@ -9,8 +9,6 @@ class Approval extends Model
|
||||
{
|
||||
protected $fillable = ['model_type', 'model_id', 'required_approvals', 'status'];
|
||||
|
||||
protected $with = ['items.user'];
|
||||
|
||||
public function items(): HasMany
|
||||
{
|
||||
return $this->hasMany(ApprovalItem::class);
|
||||
|
||||
Reference in New Issue
Block a user