Browse Source

Fix cert renewal backend bug after refactor

Jamie Curnow 1 tháng trước cách đây
mục cha
commit
7b5c70ed35
1 tập tin đã thay đổi với 2 bổ sung0 xóa
  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",