Fix regression of null domains in db creates

This commit is contained in:
Jamie Curnow
2026-05-29 07:32:58 +10:00
parent a6b7a7dd9d
commit fc1adb64a3
+2
View File
@@ -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