fix: replace findpage method by find method

This commit is contained in:
yassinedorbozgithub
2024-12-09 12:11:47 +01:00
parent 91687f25ec
commit c1fcdf3b73
6 changed files with 7 additions and 10 deletions

View File

@@ -170,7 +170,7 @@ export class ContentService extends BaseService<
}
try {
const contents = await this.findPage(query, {
const contents = await this.find(query, {
skip,
limit,
sort: ['createdAt', 'desc'],