Your current implementation has a few issues:
Syntax Error in map: The function inside .map() is not correctly structured. You need to use {} for a block and return the result explicitly.
Incorrectly Accessing certImage: The certImage property is already part of each object, so you don’t need to wrap it inside {} like const image = {objectArray.certImage};. Instead, just use const image = objectArray.certImage;.
Handling await in .map(): Since you're using await inside .map(), you should use Promise.all() to handle asynchronous operations properly.