Logging stuff

sync3
Laurent 5 months ago
parent eff7e40198
commit 49cdab76ef
  1. 1
      PadelClubData/Data/TournamentLibrary.swift
  2. 2
      PadelClubData/Subscriptions/Guard.swift

@ -26,6 +26,7 @@ public class TournamentLibrary {
self._stores[tournamentId] = tournamentStore
return tournamentStore
} catch {
Logger.error(error)
return nil
}
}

@ -219,7 +219,7 @@ import Combine
purchases.append(contentsOf: userPurchases)
let validPurchases = DataStore.shared.purchases.filter { $0.isValid() }
Logger.log("valid purchases = \(validPurchases.count)")
// Logger.log("valid purchases = \(validPurchases.count)")
purchases.append(contentsOf: validPurchases)
if let purchase = purchases.first(where: { $0.productId == StoreItem.monthlyUnlimited.rawValue }) {

Loading…
Cancel
Save