Skip to content

Commit

Permalink
Update index.md
Browse files Browse the repository at this point in the history
  • Loading branch information
LM-loleris committed Oct 12, 2024
1 parent b9b261a commit 7258b97
Showing 1 changed file with 3 additions and 7 deletions.
10 changes: 3 additions & 7 deletions docs/devproducts/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -127,11 +127,7 @@ end
function PurchaseIdCheckAsync(profile, purchase_id, grant_product): Enum.ProductPurchaseDecision
-- Waits until purchase_id is confirmed to be saved to the DataStore or the profile session has ended
if profile:IsActive() ~= true then
return Enum.ProductPurchaseDecision.NotProcessedYet
else
if profile:IsActive() == true then
local purchase_id_cache = profile.Data.PurchaseIdCache
Expand Down Expand Up @@ -189,10 +185,10 @@ function PurchaseIdCheckAsync(profile, purchase_id, grant_product): Enum.Product
end
return Enum.ProductPurchaseDecision.NotProcessedYet
end
return Enum.ProductPurchaseDecision.NotProcessedYet
end
local function ProcessReceipt(receipt_info)
Expand Down

0 comments on commit 7258b97

Please sign in to comment.