mirror of
https://github.com/bigcapitalhq/bigcapital.git
synced 2026-02-16 12:50:38 +00:00
fix: issue in mail sender.
This commit is contained in:
@@ -218,7 +218,11 @@ export default class ItemsController extends BaseController {
|
||||
|
||||
try {
|
||||
const storedItem = await this.itemsService.newItem(tenantId, itemDTO);
|
||||
return res.status(200).send({ id: storedItem.id });
|
||||
|
||||
return res.status(200).send({
|
||||
id: storedItem.id,
|
||||
message: 'Item has been created successfully.',
|
||||
});
|
||||
} catch (error) {
|
||||
next(error);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user