Clientes
This commit is contained in:
parent
0420b8e090
commit
b302870647
@ -17,7 +17,7 @@ export class UpdateCustomerController extends ExpressController {
|
|||||||
const result = await this.useCase.execute({ customer_id, companyId, dto });
|
const result = await this.useCase.execute({ customer_id, companyId, dto });
|
||||||
|
|
||||||
return result.match(
|
return result.match(
|
||||||
(data) => this.created(data),
|
(data) => this.ok(data),
|
||||||
(err) => this.handleError(err)
|
(err) => this.handleError(err)
|
||||||
);
|
);
|
||||||
}
|
}
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user