Merge branch 'master' into 'tibor'
# Conflicts: # src/main/kotlin/com/aitrainer/api/controller/CustomerController.kt # src/test/kotlin/com/aitrainer/api/test/CustomerTests.kt
This commit is contained in:
commit
1a4c5cc494
@ -94,7 +94,7 @@ class CustomerController ( private val customerRepository: CustomerRepository) {
|
||||
|
||||
val password: String? = newCustomer.password
|
||||
val updatedCustomer: Customer
|
||||
if ( password == null || password.isEmpty() ) {
|
||||
if ( password == null || password.length == 0 ) {
|
||||
updatedCustomer =
|
||||
returnCustomer.copy(
|
||||
name = newCustomer.name,
|
||||
|
Loading…
Reference in New Issue
Block a user