fix: add coa in supplier
This commit is contained in:
@@ -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',
|
||||
};
|
||||
|
Reference in New Issue
Block a user