Additional fix for #2629 with API

API object's notes fields now correctly preserve newlines.
This commit is contained in:
Geoffrey “Frogeye” Preud'homme
2019-09-22 17:36:18 +02:00
parent 5214f87003
commit f8cb5ca21c
10 changed files with 24 additions and 9 deletions

View File

@@ -51,7 +51,7 @@ class AttachmentUpdateRequest extends Request
return [
'filename' => $this->string('filename'),
'title' => $this->string('title'),
'notes' => $this->string('notes'),
'notes' => $this->nlString('notes'),
'model' => $this->string('model'),
'model_id' => $this->integer('model_id'),
];