API 1.0.54 customer.lang update

This commit is contained in:
Tibor Bossanyi (Freelancer)
2021-11-30 20:29:29 +01:00
parent 28482e9a2b
commit 357c9be0b7
2 changed files with 5 additions and 0 deletions
@@ -126,6 +126,9 @@ class CustomerController ( private val customerRepository: CustomerRepository) {
if (newCustomer.firebaseRegToken != null) {
updatedCustomer.firebaseRegToken = newCustomer.firebaseRegToken
}
if (newCustomer.lang != null) {
updatedCustomer.lang = newCustomer.lang
}
updatedCustomer.sex = newCustomer.sex
updatedCustomer.birthYear = newCustomer.birthYear
updatedCustomer.fitnessLevel = newCustomer.fitnessLevel