Skip to content
This repository has been archived by the owner on May 16, 2023. It is now read-only.

Commit

Permalink
fixed response date parsing
Browse files Browse the repository at this point in the history
  • Loading branch information
dreske committed Jan 18, 2023
1 parent 7b3c073 commit 592a722
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -74,7 +74,7 @@ public LocalDateTime cancelAccount(String partnerId, LocalDateTime cancellationD
throw new IllegalStateException("Invalid response");
}

return LocalDateTime.parse(response.get(0).get("finalDeletion"));
return LocalDateTime.parse(response.get(0).get("finalDeletion"), DateTimeFormatter.ISO_DATE_TIME);
}

private String requestToken() {
Expand Down

0 comments on commit 592a722

Please sign in to comment.