Skip to content

The value of fileResponse.result always returns null. #259

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
alparslantopbas opened this issue Aug 26, 2019 · 2 comments
Closed

The value of fileResponse.result always returns null. #259

alparslantopbas opened this issue Aug 26, 2019 · 2 comments

Comments

@alparslantopbas
Copy link

Hi,
I have a question. The following method worked in v1.0.21. However, it does not work in v1.0.24. The value of fileResponseOnYuz.result always returns null.
Is this a bug or am I doing something wrong?
Thanks.

File _image;
ParseFile _imageParseFileOnYuz;
_imageParseFileOnYuz = ParseFile(_image, name: nameOnYuz);
...
var fileResponseOnYuz = await _imageParseFileOnYuz.save();
if (fileResponseOnYuz.success) {
_imageParseFileOnYuz = fileResponseOnYuz.result as ParseFile;
print("Image Save with success");
print(_imageParseFileOnYuz.file.uri);
} else {
print("Image Save with failed");
}

@RodrigoSMarques
Copy link
Contributor

Hi @alparslantopbas
the object _imageParseFileOnYuz is updated after save and contains information about ParseFile.
Is not necessary get return in results

@alparslantopbas
Copy link
Author

Hi @RodrigoSMarques
Thank you very much, yes it worked.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants