feat: Removes some logging that was used to debug.
This commit is contained in:
@@ -59,7 +59,9 @@ struct ApiController: RouteCollection {
|
||||
|
||||
@Sendable
|
||||
func employeesIndex(req: Request) async throws -> [Employee.DTO] {
|
||||
var dbQuery = Employee.query(on: req.db)
|
||||
var dbQuery = Employee
|
||||
.query(on: req.db)
|
||||
.sort(\.$lastName)
|
||||
|
||||
let params = try req.query.decode(EmployeesIndexQuery.self)
|
||||
if params.active == true {
|
||||
|
||||
Reference in New Issue
Block a user