VirtusLab-Open-Source / strapi-plugin-comments

A plugin for Strapi Headless CMS that provides end to end comments feature with their moderation panel, bad words filtering, abuse reporting and more.
MIT License
413 stars 65 forks source link

why is authorAvatar null? #122

Closed Nisthar closed 2 years ago

Nisthar commented 2 years ago

I have avatar set on the user. I am using users-permission plugin. Also custom population like

?populate[0]=authorUser.avatar doesn't work

image

Nisthar commented 2 years ago

I guess you have to specify it when creating. I was trying to update with authorAvatar.

cyp3rius commented 2 years ago

Hello @Nisthar, the populate feature for authorUser is on our product board so there won't be any customizations needed.

Nisthar commented 2 years ago

@cyp3rius The problem with that is the users-permission plugin doesn't populate avatar field by default, so its always undefined. And there's no way to pass custom populate to the comments.

cyp3rius commented 2 years ago

@Nisthar as I said earlier we've got the population support planned.

cyp3rius commented 2 years ago

Duplicate of #113