diff --git a/src/core/baseMapping.ts b/src/core/baseMapping.ts index 635d1ee..463a13c 100644 --- a/src/core/baseMapping.ts +++ b/src/core/baseMapping.ts @@ -91,8 +91,8 @@ export abstract class BaseMapping { } async findAndCountAll( - limit: number, page: number, + limit: number, where = {} ): Promise<{ rows: T[];