mirror of
https://github.com/hexastack/hexabot
synced 2025-06-26 18:27:28 +00:00
feat(cms): content not getting updated
This commit is contained in:
@@ -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);
|
||||
}
|
||||
|
||||
/**
|
||||
|
||||
Reference in New Issue
Block a user