I found a way, I needed to pupulate the call.
const foundUser = await user_query.findOne({
where: {
id: foundItem.createdBy.id,
},
populate: ['profileImage']
})
I found a way, I needed to pupulate the call.
const foundUser = await user_query.findOne({
where: {
id: foundItem.createdBy.id,
},
populate: ['profileImage']
})