mirror of
https://github.com/pixelfed/pixelfed.git
synced 2024-12-25 22:43:18 +00:00
Update ModLog model, add fillable attribute
This commit is contained in:
parent
542ad12bc3
commit
c7ccb26ffc
1 changed files with 2 additions and 0 deletions
|
@ -8,6 +8,8 @@ class ModLog extends Model
|
|||
{
|
||||
protected $visible = ['id'];
|
||||
|
||||
protected $fillable = ['*'];
|
||||
|
||||
public function admin()
|
||||
{
|
||||
return $this->belongsTo(User::class, 'user_id');
|
||||
|
|
Loading…
Reference in a new issue