fix(database): the options.where object is empty
This commit is contained in:
parent
620b2b463e
commit
c538fdf73a
@ -445,7 +445,7 @@ export class Repository<TModelAttributes extends {} = any, TCreationAttributes e
|
||||
|
||||
const params = parser.toSequelizeParams();
|
||||
debug('sequelize query params %o', params);
|
||||
return { ...options, ...params };
|
||||
return { where: {}, ...options, ...params };
|
||||
}
|
||||
|
||||
protected parseFilter(filter: Filter) {
|
||||
|
Loading…
Reference in New Issue
Block a user