feat(cms): content not getting updated

This commit is contained in:
Amit Ranjan
2024-10-02 13:37:36 +05:30
parent 9ca6d46d9f
commit ad2845afec
4 changed files with 20 additions and 25 deletions

View File

@@ -215,9 +215,7 @@ export class ContentController extends BaseController<
)
filters: TFilterQuery<Content>,
) {
return this.canPopulate(populate)
? await this.contentService.findPageAndPopulate(filters, pageQuery)
: await this.contentService.findPage(filters, pageQuery);
return await this.contentService.findPage(filters, pageQuery);
}
/**