Closed karianpour closed 5 years ago
@karianpour sorry about that, was not using promises most of the time. Thanks for helping out man! just updated the package.
@zabsalahid Man that was too fast. I wish that could give it more stars.
@karianpour just happen to be still in-front of the computer. haha
I found that if do not give
callback
parameter to the functions, it will return a promise which is a very nice practice. But there is a bug in the list function, itreject
if it succeeds andresolve
if it fails. Inindex.js
line 13 and 15,resolve
andreject
should be swapped.should be changed to :