Skip to content

Commit

Permalink
Update RNIapModule.java
Browse files Browse the repository at this point in the history
-woops
  • Loading branch information
cristian-montejano committed Sep 27, 2021
1 parent 3117b1d commit 3aac04a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion android/src/play/java/com/dooboolab/RNIap/RNIapModule.java
Original file line number Diff line number Diff line change
Expand Up @@ -222,7 +222,7 @@ public void flushFailedPurchasesCachedAsPending(final Promise promise) {
@ReactMethod
public void getItemsByType(final String type, final ReadableArray skuArr, final Promise promise) {

if (skuArr.size() >= 0) {
if (skuArr.size() <= 0) {
promise.reject("There was an issue obtaining products. Please try again later.");
}

Expand Down

0 comments on commit 3aac04a

Please sign in to comment.