Skip to content

Commit

Permalink
Merge pull request #683 from lovegaoshi/dev
Browse files Browse the repository at this point in the history
fix: billing
  • Loading branch information
lovegaoshi authored Dec 6, 2024
2 parents c680c60 + f88a2ff commit 5b88901
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/hooks/useVIP.ts
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ const getVIPStatus = async () => {
}
await initRevenueCatWeb();
const customerInfo = await PurchasesWeb.getSharedInstance().getCustomerInfo();
return customerInfo.entitlements.active[VIPId] === undefined;
return customerInfo.entitlements.active[VIPId] !== undefined;
};

export const purchaseVIP = async () => {
Expand Down

0 comments on commit 5b88901

Please sign in to comment.