|
|
|
@ -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) |
|
|
|
|