Fix regression of null domains in db creates
This commit is contained in:
@@ -38,6 +38,8 @@ class Certificate extends Model {
|
||||
// Default for domain_names
|
||||
if (typeof this.domain_names !== "undefined") {
|
||||
this.domain_names = cleanDomainNames(this.domain_names);
|
||||
} else {
|
||||
this.domain_names = [];
|
||||
}
|
||||
|
||||
// Default for meta
|
||||
|
||||
Reference in New Issue
Block a user