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