fix: add coa in supplier

This commit is contained in:
ilham 2021-12-16 15:05:16 +07:00
parent 264b7312ed
commit bd469fe66a

View File

@ -130,11 +130,10 @@ export class UsersController {
@Public()
@Get('supplier')
async findAllSupplier(@Query('page') page: number) {
const [data, count] = await this.supplierService.findAllSupplier(page);
const data = await this.supplierService.findAllSupplier(page);
return {
data,
count,
...data,
statusCode: HttpStatus.OK,
message: 'success',
};