From 28ee4233cabc52ea485a01adfc5b3fa9a21e29f8 Mon Sep 17 00:00:00 2001 From: DaddyWarbucks Date: Tue, 5 Aug 2025 12:35:14 -0500 Subject: [PATCH] fix: update pagination handling in _find method --- src/adapter.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/adapter.ts b/src/adapter.ts index ad07db4..9298893 100644 --- a/src/adapter.ts +++ b/src/adapter.ts @@ -257,7 +257,7 @@ export class SequelizeAdapter< params: ServiceParams = {} as ServiceParams, ): Promise | Result[]> { const Model = this.getModel(params) - const { paginate } = this.filterQuery(params) + const { paginate } = this.getOptions(params) const sequelizeOptions = this.paramsToAdapter(null, params) if (!paginate || !paginate.default) {