Browse Source

Update file tasks-comments.service.ts

merge-requests/236/head
Coder 2 years ago
parent
commit
dd5bb3e2ee
  1. 3
      src/domain/old-database-seed/services/tasks-comments.service.ts

3
src/domain/old-database-seed/services/tasks-comments.service.ts

@ -133,7 +133,8 @@ export class OldDBTasksCommentsService { @@ -133,7 +133,8 @@ export class OldDBTasksCommentsService {
private async getNewEntitiesIds(type: OldDbRelationType) {
const relations = await this.oldDbRelationsRepository.find({
type,
where: {type},
limit: 100
})
return relations.map(it => it.newId)

Loading…
Cancel
Save