Skip to content

Commit

Permalink
Fix purchaseDiscountedPackage (#1007)
Browse files Browse the repository at this point in the history
  • Loading branch information
vegaro authored May 22, 2024
1 parent 30fff89 commit 6a53d69
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion __tests__/index.test.js
Original file line number Diff line number Diff line change
Expand Up @@ -848,7 +848,7 @@ describe("Purchases", () => {

expect(NativeModules.RNPurchases.purchasePackage).toBeCalledWith(
aPackage.identifier,
aPackage.offeringIdentifier,
aPackage.presentedOfferingContext,
null,
promotionalOfferStub.timestamp.toString(),
null
Expand Down
2 changes: 1 addition & 1 deletion src/purchases.ts
Original file line number Diff line number Diff line change
Expand Up @@ -587,7 +587,7 @@ export default class Purchases {
}
return RNPurchases.purchasePackage(
aPackage.identifier,
aPackage.offeringIdentifier,
aPackage.presentedOfferingContext,
null,
discount.timestamp.toString(),
null
Expand Down

0 comments on commit 6a53d69

Please sign in to comment.