Skip to content

Commit

Permalink
fix: changes for apphudsdk.swift
Browse files Browse the repository at this point in the history
  • Loading branch information
Alexandr Makarov committed Apr 15, 2021
1 parent b246ddf commit 0951b06
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions ios/ApphudSdk.swift
Original file line number Diff line number Diff line change
Expand Up @@ -56,8 +56,8 @@ class ApphudSdk: NSObject {
Apphud.purchase(productIdentifier) { (result:ApphudPurchaseResult) in
let transaction:SKPaymentTransaction? = result.transaction;
var response = [
"subscription": DataTransformer.apphudSubscription(subscription: result.subscription!),
"nonRenewingPurchase": DataTransformer.nonRenewingPurchase(nonRenewingPurchase: result.nonRenewingPurchase!),
"subscription": DataTransformer.apphudSubscription(subscription: result.subscription),
"nonRenewingPurchase": DataTransformer.nonRenewingPurchase(nonRenewingPurchase: result.nonRenewingPurchase),
"error": result.error.debugDescription
] as [String : Any];
if (transaction != nil) {
Expand Down

0 comments on commit 0951b06

Please sign in to comment.