Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -14,11 +14,11 @@ public class CreateConnectTokenRequest {

public CreateConnectTokenRequest(String webhookUrl, String clientUserId) {
this.itemId = null;
this.options = new Options(webhookUrl, clientUserId);
this.options = new Options(webhookUrl, clientUserId, null, null);
}

public CreateConnectTokenRequest(String itemId, String webhookUrl, String clientUserId) {
this.itemId = itemId;
this.options = new Options(webhookUrl, clientUserId);
this.options = new Options(webhookUrl, clientUserId, null, null);
}
}
2 changes: 2 additions & 0 deletions src/main/java/ai/pluggy/client/request/Options.java
Original file line number Diff line number Diff line change
Expand Up @@ -9,4 +9,6 @@ public class Options {

String webhookUrl;
String clientUserId;
String oauthRedirectUri;
Boolean avoidDuplicates;
}