Turns out, I just had to nest it like so:
strapi.db.query('api::time-availability.time-availability').findMany({
populate: {
mentorId: {
select: ['firstName', 'lastName']
}
}
});
Turns out, I just had to nest it like so:
strapi.db.query('api::time-availability.time-availability').findMany({
populate: {
mentorId: {
select: ['firstName', 'lastName']
}
}
});