Add debug log to log out subscription level.

This commit is contained in:
Alex Hart 2021-11-04 17:51:54 -03:00 committed by Greyson Parrelli
parent 38f5e8b4eb
commit bafb62f214

View file

@ -137,6 +137,8 @@ class DonationPaymentRepository(activity: Activity) : StripeApi.PaymentIntentFet
.flatMapCompletable { levelUpdateOperation ->
val subscriber = SignalStore.donationsValues().requireSubscriber()
Log.d(TAG, "Attempting to set user subscription level to $subscriptionLevel")
ApplicationDependencies.getDonationsService().updateSubscriptionLevel(
subscriber.subscriberId,
subscriptionLevel,