diff --git a/build.gradle b/build.gradle index 198ed3d3..5cab98dc 100644 --- a/build.gradle +++ b/build.gradle @@ -23,7 +23,7 @@ dependencies { implementation 'org.slf4j:slf4j-api:1.7.36' implementation 'ch.qos.logback:logback-core:1.2.11' implementation 'ch.qos.logback:logback-classic:1.2.11' - implementation 'io.seqera.tower:tower-java-sdk:1.9.0' + implementation 'io.seqera.tower:tower-java-sdk:1.9.3' implementation 'info.picocli:picocli:4.6.3' implementation 'org.apache.commons:commons-compress:1.22' implementation 'org.tukaani:xz:1.9' diff --git a/src/main/java/io/seqera/tower/cli/commands/AbstractApiCmd.java b/src/main/java/io/seqera/tower/cli/commands/AbstractApiCmd.java index ef07935e..8dc8f683 100644 --- a/src/main/java/io/seqera/tower/cli/commands/AbstractApiCmd.java +++ b/src/main/java/io/seqera/tower/cli/commands/AbstractApiCmd.java @@ -32,7 +32,7 @@ import io.seqera.tower.model.OrgAndWorkspaceDbDto; import io.seqera.tower.model.PipelineDbDto; import io.seqera.tower.model.PipelineQueryAttribute; -import io.seqera.tower.model.User; +import io.seqera.tower.model.UserDbDto; import io.seqera.tower.model.WorkflowQueryAttribute; import org.glassfish.jersey.client.ClientConfig; import org.glassfish.jersey.logging.LoggingFeature; @@ -327,7 +327,7 @@ protected OrgAndWorkspaceDbDto findOrganizationByRef(String organizationRef) thr } private void loadUser() throws ApiException { - User user = api().userInfo().getUser(); + UserDbDto user = api().userInfo().getUser(); userName = user.getUserName(); userId = user.getId(); }