Skip to content

Commit

Permalink
Add support for generating autodescriptions
Browse files Browse the repository at this point in the history
  • Loading branch information
chregu committed Mar 15, 2024
1 parent 8f40cb4 commit 4ac9709
Showing 1 changed file with 9 additions and 0 deletions.
9 changes: 9 additions & 0 deletions src/Image.php
Original file line number Diff line number Diff line change
Expand Up @@ -1058,6 +1058,15 @@ private function uploadSourceImageInternal($organization, $options, $requestOpti
];
}

dump($options);
if (isset($options['meta_static'])) {
$options['meta_static'] = $this->applyValueTransformationsToUserMeta($options['meta_static']);
$requestOptions[] = [
'name' => 'meta_static[0]',
'contents' => json_encode($options['meta_static']),
];
}

if (isset($options['options'])) {
$requestOptions[] = [
'name' => 'options[0]',
Expand Down

0 comments on commit 4ac9709

Please sign in to comment.