Fixes mass assigment on Attachment update by plastique · Pull Request #2654 · orchidsoftware/platform
Hi, thanks for the PR. Could you give more details?
By default, the attachment model does not contain fillable id
platform/src/Attachment/Models/Attachment.php
Lines 32 to 46 in 1d23245
| protected $fillable = [ | |
| 'name', | |
| 'original_name', | |
| 'mime', | |
| 'extension', | |
| 'size', | |
| 'path', | |
| 'user_id', | |
| 'description', | |
| 'alt', | |
| 'sort', | |
| 'hash', | |
| 'disk', | |
| 'group', | |
| ]; |