Skip to content
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

Use 'RestCallFileAsync' instead of 'RestCallAsync' in DownloadBatchAsync #165

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

ReazonIAm
Copy link

DownloadBatchAsync always throws parser exception, and uses RestCallAsync.
DownloadBatch, on the other hand uses RestCallFile (Which still calls RestCallFileAsync), and works without any problem.
I suggest making these two functions to use the same logic, at least for the sake of consistency.
This quick fix makes them work the same, and seems to solve the problem(I used changed version as the reference to run tests - no exceptions thrown).

…ync, which causes parser to throw exception.
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

Successfully merging this pull request may close these issues.

1 participant