Use find() and findOne() in custom controller?

Hi !
Did you found any solution to this problem? I encouter the same issue… I really don’t know why.

Thanks