forked from mirror/pixelfed
Update Status & StatusHashtag models to fix mass assignment bug
This commit is contained in:
parent
593d532236
commit
b9396b7f68
2 changed files with 2 additions and 2 deletions
|
@ -6,7 +6,7 @@ use Illuminate\Database\Eloquent\Model;
|
||||||
|
|
||||||
class Hashtag extends Model
|
class Hashtag extends Model
|
||||||
{
|
{
|
||||||
protected $fillable = ['name','slug'];
|
public $fillable = ['name','slug'];
|
||||||
|
|
||||||
public function posts()
|
public function posts()
|
||||||
{
|
{
|
||||||
|
|
|
@ -6,5 +6,5 @@ use Illuminate\Database\Eloquent\Model;
|
||||||
|
|
||||||
class StatusHashtag extends Model
|
class StatusHashtag extends Model
|
||||||
{
|
{
|
||||||
protected $fillable = ['status_id', 'hashtag_id'];
|
public $fillable = ['status_id', 'hashtag_id'];
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Reference in a new issue