findMany not working what am I doing wrong

const migration = await strapi.entityService.findMany(‘api::migration.migration’,{

Its a single type, findone also not working

This topic has been created from a Discord post (1247510253151457311) to give it more visibility.
It will be on Read-Only mode here.
Join the conversation on Discord

Wtf am I doing wrong?

  const migration = await strapi.entityService.findOne('api::migration.migration',1)

It only work with the db.query, entityservice is bugged on single types?