remove patch error throws

club_update
Laurent 1 year ago
parent 38bbbb3246
commit 8e5574792e
  1. 4
      PadelClub/Utils/Patcher.swift

@ -69,11 +69,11 @@ class Patcher {
return return
} }
guard URLs.api.rawValue == "https://padelclub.app/roads/" else { guard URLs.api.rawValue == "https://padelclub.app/roads/" else {
throw PatchError.patchError(message: "not on prod server") return
} }
guard let userId = StoreCenter.main.userId else { guard let userId = StoreCenter.main.userId else {
throw PatchError.patchError(message: "no user ID") return
} }
try StoreCenter.main.migrateToken(devServices) try StoreCenter.main.migrateToken(devServices)

Loading…
Cancel
Save