fix: adjust contact balance

This commit is contained in:
Ahmed Bouhuolia
2025-06-26 17:04:46 +02:00
parent 6a39e9d71f
commit e7178a6575
19 changed files with 180 additions and 54 deletions

View File

@@ -23,6 +23,7 @@ import {
import { CreateCustomerDto } from './dtos/CreateCustomer.dto';
import { EditCustomerDto } from './dtos/EditCustomer.dto';
import { CustomerResponseDto } from './dtos/CustomerResponse.dto';
import { GetCustomersQueryDto } from './dtos/GetCustomersQuery.dto';
@Controller('customers')
@ApiTags('Customers')
@@ -51,7 +52,7 @@ export class CustomersController {
items: { $ref: getSchemaPath(CustomerResponseDto) },
},
})
getCustomers(@Query() filterDTO: Partial<ICustomersFilter>) {
getCustomers(@Query() filterDTO: GetCustomersQueryDto) {
return this.customersApplication.getCustomers(filterDTO);
}