Merge pull request #1481 from jc21/certificate-no-domain-sorting

Removes sorting of domain names when creating a certificate
This commit is contained in:
jc21 2021-10-25 08:40:19 +10:00 committed by GitHub
commit da7c3057b4
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -114,7 +114,7 @@ const internalCertificate = {
data.owner_user_id = access.token.getUserId(1);
if (data.provider === 'letsencrypt') {
data.nice_name = data.domain_names.sort().join(', ');
data.nice_name = data.domain_names.join(', ');
}
return certificateModel