Ver Fonte

Fix cert renewal backend bug after refactor

Jamie Curnow há 1 mês atrás
pai
commit
7b5c70ed35
1 ficheiros alterados com 2 adições e 0 exclusões
  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",