Skip to content

Commit

Permalink
Fix typo in example
Browse files Browse the repository at this point in the history
Example did not compile because a return statement didn't return a value.
  • Loading branch information
DamianMehers committed Dec 11, 2019
1 parent 878c8d1 commit 38ae930
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions docs/CheckAndRestorePurchases.md
Expand Up @@ -27,7 +27,7 @@ public async Task<bool> WasItemPurchased(string productId)
if (!connected)
{
//Couldn't connect
return;
return false;
}

//check purchases
Expand Down Expand Up @@ -66,4 +66,4 @@ public async Task<bool> WasItemPurchased(string productId)
Learn more about `IInAppBillingVerifyPurchase` in the [Securing Purchases](SecuringPurchases.md) documentation.


<= Back to [Table of Contents](README.md)
<= Back to [Table of Contents](README.md)

0 comments on commit 38ae930

Please sign in to comment.