Skip to content

Commit

Permalink
Add id attribute to channel fillable
Browse files Browse the repository at this point in the history
  • Loading branch information
sampoyigi committed Sep 5, 2023
1 parent df4d33a commit c9b6729
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion models/Channel.php
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ class Channel extends Model
/**
* @var array fillable fields
*/
protected $fillable = ['code', 'class_name', 'config_data', 'is_enabled', 'is_default', 'location_id'];
protected $fillable = ['id', 'code', 'class_name', 'config_data', 'is_enabled', 'is_default', 'location_id'];

public $relation = [
'belongsTo' => [
Expand Down

0 comments on commit c9b6729

Please sign in to comment.