So, that wordked for me :
const res = await strapi.service("plugin::users-permissions.user").fetch({ id: data.author})
I’m not sure why I have to query the service here and not the model, but that works !
So, that wordked for me :
const res = await strapi.service("plugin::users-permissions.user").fetch({ id: data.author})
I’m not sure why I have to query the service here and not the model, but that works !