Skip to content

Commit

Permalink
Move analytics instance out of constructor
Browse files Browse the repository at this point in the history
  • Loading branch information
warmkesselj committed Dec 10, 2024
1 parent 1c664e5 commit ac6da19
Showing 1 changed file with 2 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -26,9 +26,10 @@ class PayPalClient internal constructor(
private val braintreeClient: BraintreeClient,
private val internalPayPalClient: PayPalInternalClient = PayPalInternalClient(braintreeClient),
private val merchantRepository: MerchantRepository = MerchantRepository.instance,
private val analyticsParamRepository: AnalyticsParamRepository = AnalyticsParamRepository.instance
) {

private val analyticsParamRepository: AnalyticsParamRepository = AnalyticsParamRepository.instance

/**
* Used for linking events from the client to server side request
* In the PayPal flow this will be either an EC token or a Billing Agreement token
Expand Down

0 comments on commit ac6da19

Please sign in to comment.