Skip to content

Commit

Permalink
Change sepaMaximumEuros field to number in JSON response
Browse files Browse the repository at this point in the history
  • Loading branch information
katherine-signal authored Nov 10, 2023
1 parent 71e4351 commit 38bc0c4
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -229,7 +229,7 @@ GetSubscriptionConfigurationResponse buildGetSubscriptionConfigurationResponse(f
giftBadge,
oneTimeDonationConfiguration.gift().expiration())));

return new GetSubscriptionConfigurationResponse(buildCurrencyConfiguration(userAgent), levels, oneTimeDonationConfiguration.sepaMaximumEuros().toString());
return new GetSubscriptionConfigurationResponse(buildCurrencyConfiguration(userAgent), levels, oneTimeDonationConfiguration.sepaMaximumEuros());
}

@DELETE
Expand Down Expand Up @@ -538,7 +538,7 @@ public CompletableFuture<Response> setSubscriptionLevel(
*/
public record GetSubscriptionConfigurationResponse(Map<String, CurrencyConfiguration> currencies,
Map<String, LevelConfiguration> levels,
String sepaMaximumEuros) {
BigDecimal sepaMaximumEuros) {

}

Expand Down

0 comments on commit 38bc0c4

Please sign in to comment.