mirror of
https://github.com/bigcapitalhq/bigcapital.git
synced 2026-02-16 12:50:38 +00:00
fix: customers and vendors nullable.
This commit is contained in:
@@ -74,7 +74,7 @@ export default class VendorsController extends ContactsController {
|
||||
get vendorDTOSchema(): ValidationChain[] {
|
||||
return [
|
||||
check('currency_code')
|
||||
.optional()
|
||||
.optional({ nullable: true })
|
||||
.isString()
|
||||
.trim()
|
||||
.escape()
|
||||
|
||||
Reference in New Issue
Block a user