Skip to content

Commit b52ea96

Browse files
committed
Make service store data sync also sync transactions to context
1 parent b9b6969 commit b52ea96

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Sources/StoreKitPlus/Services/StandardStoreService.swift

+1-1
Original file line numberDiff line numberDiff line change
@@ -104,7 +104,7 @@ open class StandardStoreService: StoreService {
104104
) async throws {
105105
let products = try await getProducts()
106106
await context.updateProducts(products)
107-
try await restorePurchases()
107+
try await restorePurchases(syncWith: context)
108108
}
109109

110110

0 commit comments

Comments
 (0)