Ankit Maheshwari
1 min readJun 8, 2020

--

Hello @bruno.bearsi

Thanks for trying this code and writing back.

The `resolve` was actually missing in the code.

To fix that I have updated the code in the article by adding `new Promise((resolve, reject) => { ... })`

Please check and let me know if anything still not working for you.

I'm here to help you.

Thanks a lot!

Ankit.

--

--

Ankit Maheshwari
Ankit Maheshwari

No responses yet