diff --git a/packages/core/actions/src/actions/list.ts b/packages/core/actions/src/actions/list.ts index 0ee7e3b199..4e61dfc107 100644 --- a/packages/core/actions/src/actions/list.ts +++ b/packages/core/actions/src/actions/list.ts @@ -50,7 +50,7 @@ async function listWithPagination(ctx: Context) { async function listWithNonPaged(ctx: Context) { const repository = getRepositoryFromParams(ctx); - const rows = await repository.find(findArgs(ctx.action.params)); + const rows = await repository.find({ context: ctx, ...findArgs(ctx.action.params) }); ctx.body = rows; }