Fix Javascript

Job ID: 35980292

Budget: $10 – $30 CAD

I hired someone to build a script to pull data from an API and populate it to a postgresql database. It works but he built one component incorrectly and I need it fixed ASAP. He is basically calling the API in a loop to get names from unique id but there's a method to pull all the names and ids in a single request to them populate a table in my database which could then be referenced to get the names from uniqueid. I can provide more details and the javascript file.
Related categories: JavaScript PostgreSQL API