Skip to content

Commit

Permalink
Applied review comment.
Browse files Browse the repository at this point in the history
  • Loading branch information
dhivya-pattabhiraman committed Jan 24, 2024
1 parent 1e6f3a5 commit db5108c
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -72,7 +72,7 @@ module.exports = async (req, res) => {
? (profile && profile.getAttributeById(document_images_attribute_id)) : null))
.filter((documentImagesAttribute) => documentImagesAttribute);
});
documentImagesAttributes = [].concat(...documentImagesAttributesArray);
documentImagesAttributes = documentImagesAttributesArray.flat();

// Selfie image (if any)
const selfieAttributeArray = verificationReports.map((report) => {
Expand Down

0 comments on commit db5108c

Please sign in to comment.