Skip to content

Commit 28bbe5f

Browse files
author
Jan van Esdonk
committed
new version
1 parent 85ab06d commit 28bbe5f

File tree

3 files changed

+6
-2
lines changed

3 files changed

+6
-2
lines changed

pom.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44

55
<groupId>me.figo</groupId>
66
<artifactId>sdk</artifactId>
7-
<version>1.3.4</version>
7+
<version>1.3.5</version>
88
<packaging>jar</packaging>
99

1010
<name>Figo Java SDK</name>

src/main/java/me/figo/FigoSession.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -236,7 +236,7 @@ public TaskTokenResponse setupNewAccount(String bankCode, String countryCode, St
236236
* @exception IOException IOException
237237
*/
238238
public TaskTokenResponse setupNewAccount(String bankCode, String countryCode, List<String> credentials) throws FigoException, IOException {
239-
return this.queryApi("/rest/accounts", new SetupAccountRequest(bankCode, countryCode, credentials), "POST", TaskTokenResponse.class);
239+
return this.queryApi("/rest/accounts", new SetupAccountRequest(bankCode, countryCode, credentials, null), "POST", TaskTokenResponse.class);
240240
}
241241

242242
/**

src/main/java/me/figo/internal/TaskStatusResponse.java

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -58,6 +58,10 @@ public boolean isEnded() {
5858
public Challenge getChallenge() {
5959
return challenge;
6060
}
61+
62+
public ApiError getError() {
63+
return error;
64+
}
6165

6266

6367

0 commit comments

Comments
 (0)