Skip to content

Commit

Permalink
fix(Connector): add missing fields. (#47)
Browse files Browse the repository at this point in the history
  • Loading branch information
NicolasMontone authored May 21, 2024
1 parent 0471445 commit 34bddba
Show file tree
Hide file tree
Showing 5 changed files with 7 additions and 4 deletions.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ Currently, the package is available in Github Packages, so make sure to have the
<dependency>
<groupId>ai.pluggy</groupId>
<artifactId>pluggy-java</artifactId>
<version>0.16.0</version>
<version>0.16.1</version>
</dependency>
```

Expand Down
2 changes: 1 addition & 1 deletion pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@

<groupId>ai.pluggy</groupId>
<artifactId>pluggy-java</artifactId>
<version>0.16.0</version>
<version>0.16.1</version>

<packaging>jar</packaging>

Expand Down
2 changes: 1 addition & 1 deletion src/main/java/ai/pluggy/client/PluggyClient.java
Original file line number Diff line number Diff line change
Expand Up @@ -286,7 +286,7 @@ public String authenticate() throws IOException, PluggyException {
.post(body)
.addHeader("content-type", "application/json")
.addHeader("cache-control", "no-cache")
.addHeader("User-Agent", "PluggyJava/0.16.0")
.addHeader("User-Agent", "PluggyJava/0.16.1")
.build();

String apiKey;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -115,7 +115,7 @@ private Request requestWithAuth(Request originalRequest, String apiKey) {
return originalRequest.newBuilder()
.header(X_API_KEY_HEADER, apiKey)
// TOOD: add dynamic version
.header("User-Agent", "PluggyJava/0.16.0")
.header("User-Agent", "PluggyJava/0.16.1")
.build();
}

Expand Down
3 changes: 3 additions & 0 deletions src/main/java/ai/pluggy/client/response/Connector.java
Original file line number Diff line number Diff line change
Expand Up @@ -18,4 +18,7 @@ public class Connector {
String imageUrl;
Boolean hasMFA;
Date createdAt;
Boolean isOpenFinance;
Boolean supportsPaymentInitiation;
Boolean isSandbox;
}

0 comments on commit 34bddba

Please sign in to comment.