Skip to content

Commit

Permalink
update variable name for product Id
Browse files Browse the repository at this point in the history
  • Loading branch information
tomivm committed Sep 28, 2023
1 parent 5f93469 commit 4b49a69
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -141,11 +141,11 @@ export function updateIsSubscribed(requestOrigin = 'unkwnown') {
isIOS() &&
transaction &&
product &&
transaction.product_id !== product.subscriptionId
transaction.productId !== product.subscriptionId
) {
try {
const product = state.subscription.products.find(
product => product.subscriptionId === transaction.product_id
product => product.subscriptionId === transaction.productId
);

const newProduct = {
Expand Down

0 comments on commit 4b49a69

Please sign in to comment.