Skip to content

Missing Image parameter in uploadImage #14

@rafael-zupah

Description

@rafael-zupah

Adjust the name parameter from "file" to "image" in MediaSpace::uploadImage

Correction
return $this->call('POST', 'media_space/upload_image', [
RequestOptions::MULTIPART => [
[
'name' => 'image',
'contents' => $image,
'filename' => $filename,
],
[
'name' => 'scene',
'contents' => $scene,
],
[
'name' => 'ratio',
'contents' => $ratio,
]
]
]);

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions