hotfix: creating a vendor

This commit is contained in:
Ahmed Bouhuolia
2024-04-15 22:48:54 +02:00
parent dc52fb1de5
commit 5e87581f4e
8 changed files with 8 additions and 32 deletions

View File

@@ -144,10 +144,8 @@ export default class VendorsController extends ContactsController {
try {
const vendor = await this.vendorsApplication.createVendor(
tenantId,
contactDTO,
user
contactDTO
);
return res.status(200).send({
id: vendor.id,
message: 'The vendor has been created successfully.',