Fix cert renewal backend bug after refactor

This commit is contained in:
Jamie Curnow
2025-10-27 18:04:58 +10:00
parent e4d9f48870
commit 7b5c70ed35

View File

@@ -969,6 +969,8 @@ const internalCertificate = {
object_id: updatedCertificate.id,
meta: updatedCertificate,
});
return updatedCertificate;
} else {
throw new error.ValidationError(
"Only Let'sEncrypt certificates can be renewed",