mirror of
https://github.com/firefly-iii/firefly-iii.git
synced 2025-10-15 16:57:09 +00:00
API: Unified attachment_* and model_* for Attachments
This commit is contained in:
@@ -52,8 +52,8 @@ class AttachmentUpdateRequest extends Request
|
||||
'filename' => $this->string('filename'),
|
||||
'title' => $this->string('title'),
|
||||
'notes' => $this->nlString('notes'),
|
||||
'model' => $this->string('model'),
|
||||
'model_id' => $this->integer('model_id'),
|
||||
'model' => $this->string('attachable_type'),
|
||||
'model_id' => $this->integer('attachable_id'),
|
||||
];
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user