mirror of
https://github.com/NginxProxyManager/nginx-proxy-manager.git
synced 2025-11-01 00:03:33 +00:00
Fix cert renewal backend bug after refactor
This commit is contained in:
@@ -969,6 +969,8 @@ const internalCertificate = {
|
|||||||
object_id: updatedCertificate.id,
|
object_id: updatedCertificate.id,
|
||||||
meta: updatedCertificate,
|
meta: updatedCertificate,
|
||||||
});
|
});
|
||||||
|
|
||||||
|
return updatedCertificate;
|
||||||
} else {
|
} else {
|
||||||
throw new error.ValidationError(
|
throw new error.ValidationError(
|
||||||
"Only Let'sEncrypt certificates can be renewed",
|
"Only Let'sEncrypt certificates can be renewed",
|
||||||
|
|||||||
Reference in New Issue
Block a user