Skip to content

Commit

Permalink
Merge pull request #375 from crowdin/update-api-client
Browse files Browse the repository at this point in the history
Update Crowdin API client to 1.3.9
  • Loading branch information
andrii-bodnar authored Jul 5, 2021
2 parents d9ff46a + 1f0dda2 commit 8467168
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,7 @@ dependencies {

implementation 'info.picocli:picocli:4.6.1'

implementation 'com.github.crowdin:crowdin-api-client-java:1.3.4'
implementation 'com.github.crowdin:crowdin-api-client-java:1.3.9'

testImplementation 'org.junit.jupiter:junit-jupiter:5.7.2'
testImplementation 'org.hamcrest:hamcrest:2.2'
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -65,7 +65,7 @@ public CrowdinProjectInfo downloadProjectInfo() {

private void populateProjectWithStructure(CrowdinProjectFull project) {
project.setFiles(executeRequestFullList((limit, offset) -> this.client.getSourceFilesApi()
.listFiles(this.projectId, null, null, null, limit, offset)));
.listFiles(this.projectId, null, null, null, null, limit, offset)));
project.setDirectories(executeRequestFullList((limit, offset) -> this.client.getSourceFilesApi()
.listDirectories(this.projectId, null, null, null, limit, offset)));
project.setBranches(executeRequestFullList((limit, offset) -> this.client.getSourceFilesApi()
Expand Down Expand Up @@ -205,7 +205,7 @@ public SourceString addSourceString(AddSourceStringRequest request) {
@Override
public List<SourceString> listSourceString(Long fileId, String labelIds, String filter) {
return executeRequestFullList((limit, offset) -> this.client.getSourceStringsApi()
.listSourceStrings(this.projectId, fileId, null, labelIds, filter, null, limit, offset));
.listSourceStrings(this.projectId, fileId, null, labelIds, null, filter, null, limit, offset));
}

@Override
Expand Down

0 comments on commit 8467168

Please sign in to comment.