mirror of https://gitee.com/bigwinds/arangodb
parent
2552c3493b
commit
3bd39234ec
|
@ -208,7 +208,7 @@ class FoxxService {
|
|||
return;
|
||||
}
|
||||
|
||||
if (def.required === false && (rawValue === undefined || rawValue === null)) {
|
||||
if (def.required === false && (rawValue === undefined || rawValue === null || rawValue === '')) {
|
||||
delete this.options.configuration[name];
|
||||
this.configuration[name] = def.default;
|
||||
return;
|
||||
|
|
Loading…
Reference in New Issue