Skip to content

Commit

Permalink
fixed migration tool
Browse files Browse the repository at this point in the history
  • Loading branch information
marcos-lg committed Feb 26, 2024
1 parent 638358d commit 5e6baa1
Showing 1 changed file with 6 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -310,7 +310,10 @@ private Concept migrateConcept(
vocabularyName,
c.getName(),
ConceptClient.ListParams.of(
null, new PagingRequest(page.getOffset() + page.getLimit(), page.getLimit())));
null,
new PagingRequest(
alternativeLables.getOffset() + alternativeLables.getLimit(),
alternativeLables.getLimit())));
}

page = new PagingRequest(0, 100);
Expand All @@ -328,7 +331,8 @@ private Concept migrateConcept(
conceptClient.listHiddenLabels(
vocabularyName,
c.getName(),
new PagingRequest(page.getOffset() + page.getLimit(), page.getLimit()));
new PagingRequest(
hiddenLabels.getOffset() + hiddenLabels.getLimit(), hiddenLabels.getLimit()));
}

return created.getConcept();
Expand Down

0 comments on commit 5e6baa1

Please sign in to comment.