mirror of
https://github.com/NginxProxyManager/nginx-proxy-manager.git
synced 2026-11-18 20:30:22 +00: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
|
||||
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