Allow files to be added to notes
This is specifically when a Micropub client is using the JSON syntax and initially uploads the photo via the media endpoint
This commit is contained in:
parent
d3d6913474
commit
76db869af5
11 changed files with 33 additions and 23 deletions
|
|
@ -80,6 +80,9 @@ class MicropubRequest extends FormRequest
|
|||
// Add checkin value
|
||||
$this->micropubData['checkin'] = Arr::get($data, 'checkin');
|
||||
$this->micropubData['syndication'] = Arr::get($data, 'properties.syndication.0');
|
||||
|
||||
// Add photos
|
||||
$this->micropubData['photos'] = Arr::get($data, 'properties.photo');
|
||||
}
|
||||
|
||||
private function normalizeMicropubForm(): void
|
||||
|
|
|
|||
Loading…
Reference in a new issue