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

@@ -62,7 +62,7 @@ class PiggyBankRequest extends Request
'current_amount' => $this->string('current_amount'),
'startdate' => $this->date('start_date'),
'targetdate' => $this->date('target_date'),
'notes' => $this->string('notes'),
'notes' => $this->nlString('notes'),
];
}