mirror of
https://github.com/bigcapitalhq/bigcapital.git
synced 2026-02-16 21:00:31 +00:00
feat: linking relation with id in importing
This commit is contained in:
@@ -35,7 +35,10 @@ export class ItemsValidators {
|
||||
}
|
||||
});
|
||||
if (foundItems.length > 0) {
|
||||
throw new ServiceError(ERRORS.ITEM_NAME_EXISTS);
|
||||
throw new ServiceError(
|
||||
ERRORS.ITEM_NAME_EXISTS,
|
||||
'The item name is already exist.'
|
||||
);
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user