fix: delete error
This commit is contained in:
parent
65f15da95a
commit
fc5279b855
1 changed files with 1 additions and 1 deletions
|
|
@ -449,7 +449,7 @@ export class CustomerController extends Controller {
|
|||
},
|
||||
});
|
||||
|
||||
return await tx.customer.delete({ where: { id: customerId } });
|
||||
return data;
|
||||
});
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue