We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent bbea082 commit 1994b1bCopy full SHA for 1994b1b
packages/crud-typeorm/src/typeorm-crud.service.ts
@@ -352,7 +352,7 @@ export class TypeOrmCrudService<T> extends CrudService<T> {
352
// set cache
353
/* istanbul ignore else */
354
if (options.query.cache && parsed.cache !== 0) {
355
- builder.cache(builder.getQueryAndParameters(), options.query.cache);
+ builder.cache(options.query.cache);
356
}
357
358
return builder;
0 commit comments