Skip to content

Commit 5f3d4e8

Browse files
committed
fix: missing parameters after sdk update
1 parent 5ac79ec commit 5f3d4e8

2 files changed

Lines changed: 2 additions & 2 deletions

File tree

src/main/java/io/seqera/tower/cli/commands/credentials/add/AbstractAddCmd.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -58,7 +58,7 @@ protected Response exec() throws ApiException, IOException {
5858

5959
if (overwrite) tryDeleteCredentials(name, wspId);
6060

61-
CreateCredentialsResponse resp = credentialsApi().createCredentials(new CreateCredentialsRequest().credentials(specs), wspId);
61+
CreateCredentialsResponse resp = credentialsApi().createCredentials(new CreateCredentialsRequest().credentials(specs), wspId, null);
6262

6363
return new CredentialsAdded(getProvider().type().name(), resp.getCredentialsId(), name, workspaceRef(wspId));
6464
}

src/main/java/io/seqera/tower/cli/commands/credentials/update/AbstractUpdateCmd.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -76,7 +76,7 @@ protected Response update(Credentials creds, Long wspId) throws ApiException, IO
7676
.provider(getProvider().type())
7777
.id(creds.getId());
7878

79-
credentialsApi().updateCredentials(creds.getId(), new UpdateCredentialsRequest().credentials(specs), wspId);
79+
credentialsApi().updateCredentials(creds.getId(), new UpdateCredentialsRequest().credentials(specs), wspId, null);
8080

8181
return new CredentialsUpdated(getProvider().type().name(), name, workspaceRef(wspId));
8282
}

0 commit comments

Comments
 (0)