filestack / filestack-php

Official PHP SDK for Filestack - API and content management system that makes it easy to add powerful file uploading and transformation capabilities to any web or mobile application.
https://www.filestack.com
Apache License 2.0
56 stars 32 forks source link

Example is using an unknown variable #38

Open TELUS-Alexander opened 5 years ago

TELUS-Alexander commented 5 years ago

Hello,

In your example, you are using the $fields variable but it has not been initiated and there is no way to know what is being referred there.

https://github.com/filestack/filestack-php#storage

$metadata = $client->getMetaData($filelink->handle, $fields);

I noticed it while going through your documentation.

By default, does it retrieve all fields if the value is empty?