Skip to content

Commit

Permalink
trim Stripe metadata values
Browse files Browse the repository at this point in the history
  • Loading branch information
brmeyer committed Jul 16, 2024
1 parent 122547f commit fee4bf5
Showing 1 changed file with 1 addition and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -570,6 +570,7 @@ public String getMetadataValue(Collection<String> keys) {
.filter(e -> filteredKeys.contains(e.getKey().toLowerCase(Locale.ROOT)))
.map(Map.Entry::getValue)
.findFirst()
.map(String::trim)
.orElse(null);
}

Expand Down

0 comments on commit fee4bf5

Please sign in to comment.