Skip to content

Commit

Permalink
Update README.md
Browse files Browse the repository at this point in the history
  • Loading branch information
lasdou authored Apr 9, 2024
1 parent 41c589b commit fc0d988
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -148,8 +148,9 @@ $mediaContent ='';
* store these data into the mediaContent var
* See this documentation to find out how to do it
* https://api.akeneo.com/php-client/resources.html#asset-media-file
* and https://api.akeneo.com/php-client/resources.html#download-media-file
*/
$mediaContent = '???';
$mediaContent = '???'; //<-- binary data of the asset image
$tempFile = tempnam('/tmp', 'assetGoogleVision');
file_put_contents($tempFile, $mediaContent);
Expand Down

0 comments on commit fc0d988

Please sign in to comment.