Skip to content

Commit

Permalink
Fixed syncHistoricalData function logic
Browse files Browse the repository at this point in the history
  • Loading branch information
actions-user committed Oct 10, 2024
1 parent cfe81f6 commit aff0556
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Sources/Qonversion/Public/Qonversion.m
Original file line number Diff line number Diff line change
Expand Up @@ -105,7 +105,7 @@ - (void)syncHistoricalData {
return;
}

[[Qonversion sharedInstance] restore:^(NSDictionary<NSString *,QONEntitlement *> * _Nonnull result, NSError * _Nullable error) {
[[Qonversion sharedInstance].productCenterManager restoreTransactions:^(NSDictionary<NSString *,QONEntitlement *> * _Nonnull result, NSError * _Nullable error) {
if (error) {
QONVERSION_LOG(@"❌ Historical data sync failed: %@", error.localizedDescription);
} else {
Expand Down

0 comments on commit aff0556

Please sign in to comment.