refactor: refactored the checkListItem
This commit is contained in:
@@ -19,7 +19,7 @@ export class CheckListItemService {
|
||||
const limit = pagination.limit ?? 10;
|
||||
const cursorDate = pagination.cursor ? new Date(pagination.cursor) : undefined;
|
||||
|
||||
const [data] = await this.checkListItemRepository.findAll(limit, cursorDate);
|
||||
const [data] = await this.checkListItemRepository.findAllItems(limit, cursorDate);
|
||||
|
||||
return buildCursorPageFormat(data, limit, cursorDate);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user