Await returns too soon

I am retrieving a list of image filenames from DynamoDB and using those image filenames to replace the default src= image in a portion of a website. I’m a JS novice, so I’m certainly missing …