Browse Source

Fix cert renewal backend bug after refactor

Jamie Curnow 1 month ago
parent
commit
7b5c70ed35
1 changed files with 2 additions and 0 deletions
  1. 2 0
      backend/internal/certificate.js

+ 2 - 0
backend/internal/certificate.js

@@ -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",