Browse Source

New backend name for hours worked

Hector Carrion 3 years ago
parent
commit
89de0159a9
1 changed files with 2 additions and 2 deletions
  1. 2
    2
      Comedores Sociales/Model/NetworkingModel.swift

+ 2
- 2
Comedores Sociales/Model/NetworkingModel.swift View File

106
     let telefono: String
106
     let telefono: String
107
     let membresia: String?
107
     let membresia: String?
108
     let vigencia: String?
108
     let vigencia: String?
109
-    let horas_trabajadas: String?
109
+    let horasTrabajadas: String?
110
 }
110
 }
111
 
111
 
112
 func getUserDetails(input: String) -> UserDetails {
112
 func getUserDetails(input: String) -> UserDetails {
259
             self.profile.membershipStatus = .expired
259
             self.profile.membershipStatus = .expired
260
         }
260
         }
261
         
261
         
262
-        if let hours = data.horas_trabajadas {
262
+        if let hours = data.horasTrabajadas {
263
             self.profile.hoursWorked = Int(hours) ?? 0
263
             self.profile.hoursWorked = Int(hours) ?? 0
264
         }
264
         }
265
         
265