refactor: refactored the checkListItem

This commit is contained in:
2026-07-07 11:51:42 +03:30
parent 8533682303
commit 9565eda0fd
3 changed files with 15 additions and 26 deletions
@@ -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);
}