mirror of
https://github.com/hexastack/hexabot
synced 2025-06-26 18:27:28 +00:00
fix: rename findAndPopulate method
This commit is contained in:
@@ -126,7 +126,7 @@ export class NlpValueController extends BaseController<
|
||||
}
|
||||
|
||||
@Get('')
|
||||
async findAndPopulateNlpValuesWithCount(
|
||||
async findAndPopulateWithCount(
|
||||
@Query(PageQueryPipe) pageQuery: PageQueryDto<NlpValue>,
|
||||
@Query(PopulatePipe) populate: string[],
|
||||
@Query(
|
||||
@@ -134,7 +134,7 @@ export class NlpValueController extends BaseController<
|
||||
)
|
||||
filters: TFilterQuery<NlpValue>,
|
||||
) {
|
||||
return await this.nlpValueService.findAndPopulateNlpValuesWithCount(
|
||||
return await this.nlpValueService.findAndPopulateWithCount(
|
||||
pageQuery,
|
||||
populate,
|
||||
filters,
|
||||
|
||||
Reference in New Issue
Block a user