get Real Customers: fix findByActive
This commit is contained in:
@@ -27,8 +27,8 @@ class CustomerController ( private val customerRepository: CustomerRepository )
|
||||
|
||||
|
||||
@GetMapping("/customers/real")
|
||||
fun getRealCustomers(active: String): List<Customer> =
|
||||
customerRepository.findRealCustomers(active)
|
||||
fun getRealCustomers(active: String): List<Customer> =
|
||||
customerRepository.findByActive(active)
|
||||
|
||||
|
||||
@PutMapping("/customers/{id}")
|
||||
|
||||
Reference in New Issue
Block a user