1
0
Fork 1
mirror of https://github.com/pixelfed/pixelfed.git synced 2024-12-21 23:32:39 +00:00

Update ModLog model, add fillable attribute

This commit is contained in:
Daniel Supernault 2020-04-26 02:06:48 -06:00
parent 542ad12bc3
commit c7ccb26ffc
No known key found for this signature in database
GPG key ID: 0DEF1C662C9033F7

View file

@ -8,6 +8,8 @@ class ModLog extends Model
{
protected $visible = ['id'];
protected $fillable = ['*'];
public function admin()
{
return $this->belongsTo(User::class, 'user_id');