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