DEV Community

Discussion on: Why is my promise not resolving correctly?

Collapse
 
michi profile image
Michael Z • Edited

You are mixing async-await, then and callbacks together. I would suggest refactoring it all to only async-await for easier readability. Then your problem might solve itself automatically :)