How to make a querie from a plguin

Hi @sunnyson! thanks for the reply!
I don’t think is that I’m trying to make

     console.log(await strapi.query('publications', 'application').find())

from users-permissions plugin and it throws the same error