Skip to content

Comments

[FIX] saveAsync() parameters type error#218

Open
smallbomb wants to merge 1 commit intozhangyuanwei:masterfrom
smallbomb:master
Open

[FIX] saveAsync() parameters type error#218
smallbomb wants to merge 1 commit intozhangyuanwei:masterfrom
smallbomb:master

Conversation

@smallbomb
Copy link

ex:
images.saveAsync(file, {quality : 50}, function(err) {
if (err) console.log(err)
});

=> TypeError [ERR_INVALID_CALLBACK]: Callback must be a function. Received undefined

ex:
images.saveAsync(file, {quality : 50}, function(err) {
  if (err) console.log(err)
});

=> TypeError [ERR_INVALID_CALLBACK]: Callback must be a function. Received undefined
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