Add expected second parameter to BaseApi::getRequest in a few put() methods

This commit is contained in:
Hypolite Petovan 2021-12-03 17:57:11 -05:00
parent 46e251be1f
commit e1d6de757f
3 changed files with 3 additions and 3 deletions

View file

@ -63,7 +63,7 @@ class Media extends BaseApi
'thumbnail' => [], // The custom thumbnail of the media to be attached, using multipart form data.
'description' => '', // A plain-text description of the media, for accessibility purposes.
'focus' => '', // Two floating points (x,y), comma-delimited ranging from -1.0 to 1.0
]);
], $request);
if (empty($this->parameters['id'])) {
DI::mstdnError()->UnprocessableEntity();