I\'m certain that this code is a mess as I have never had to work with an API call such as this. The issue I\'m facing is, in a production environment, node is not waiting f