Эх сурвалжийг харах

Fix cert renewal backend bug after refactor

Jamie Curnow 1 сар өмнө
parent
commit
7b5c70ed35

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