Skip to content

Commit

Permalink
Make minor tweaks
Browse files Browse the repository at this point in the history
  • Loading branch information
tillh-stripe committed Jul 19, 2023
1 parent f84076a commit 7aeafa7
Showing 1 changed file with 5 additions and 5 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -870,12 +870,12 @@ class StripeApiRepository @JvmOverloads internal constructor(
options: ApiRequest.Options
): Result<CardMetadata> {
return fetchStripeModelResult(
apiRequestFactory.createGet(
getEdgeUrl("card-metadata"),
options.copy(stripeAccount = null),
mapOf("key" to options.apiKey, "bin_prefix" to bin.value)
apiRequest = apiRequestFactory.createGet(
url = getEdgeUrl("card-metadata"),
options = options.copy(stripeAccount = null),
params = mapOf("key" to options.apiKey, "bin_prefix" to bin.value),
),
CardMetadataJsonParser(bin)
jsonParser = CardMetadataJsonParser(bin),
).onFailure {
fireAnalyticsRequest(PaymentAnalyticsEvent.CardMetadataLoadFailure)
}
Expand Down

0 comments on commit 7aeafa7

Please sign in to comment.