box / box-salesforce-sdk

This is the Salesforce SDK for integrating with the Box Platform.
https://developer.box.com/guides/tooling/sdks/salesforce/
Apache License 2.0
58 stars 51 forks source link

Folder.Info.uploadEmail is always null #19

Closed jclark-dot-org closed 8 years ago

jclark-dot-org commented 8 years ago

In the following code:

BoxFolder.Info info = folder.getFolderInfo();
BoxUploadEmail.Info emailInfo = info.uploadEmail;

emailInfo will always be null, because the class isn't parsing the json response correctly for the upload email info. Per the docs, the correct json tag is folder_upload_email; the code is checking for upload_email. PR forthcoming.