mirror of
https://github.com/Alvin-Zilverstand/nginx-proxy-manager.git
synced 2026-11-28 00:47:54 +01:00
Fix regression of null domains in db creates
This commit is contained in:
1 parent
a6b7a7dd9d
commit
fc1adb64a3
1 file changed
+2
@@ -38,6 +38,8 @@ class Certificate extends Model {
|
|||||||
// Default for domain_names
|
// Default for domain_names
|
||||||
if (typeof this.domain_names !== "undefined") {
|
if (typeof this.domain_names !== "undefined") {
|
||||||
this.domain_names = cleanDomainNames(this.domain_names);
|
this.domain_names = cleanDomainNames(this.domain_names);
|
||||||
|
} else {
|
||||||
|
this.domain_names = [];
|
||||||
}
|
}
|
||||||
|
|
||||||
// Default for meta
|
// Default for meta
|
||||||
|
|||||||
Reference in new issue
Block a user