clubs
Laurent 1 year ago
parent 6f9ec9e6b2
commit 79bc9ac0ee
  1. 4
      PadelClub/Utils/Patcher.swift

@ -14,7 +14,7 @@ enum PatchError: Error {
enum Patch: String, CaseIterable { enum Patch: String, CaseIterable {
case alexisLeDu case alexisLeDu
case importDataFromDev case importDataFromDevToProd
var id: String { var id: String {
return "padelclub.app.patch.\(self.rawValue)" return "padelclub.app.patch.\(self.rawValue)"
@ -44,7 +44,7 @@ class Patcher {
fileprivate static func _applyPatch(_ patch: Patch) throws { fileprivate static func _applyPatch(_ patch: Patch) throws {
switch patch { switch patch {
case .alexisLeDu: self._patchAlexisLeDu() case .alexisLeDu: self._patchAlexisLeDu()
case .importDataFromDev: try self._importDataFromDev() case .importDataFromDevToProd: try self._importDataFromDev()
} }
} }

Loading…
Cancel
Save