瀏覽代碼

Fix cert renewal backend bug after refactor

Jamie Curnow 1 月之前
父節點
當前提交
7b5c70ed35
共有 1 個文件被更改,包括 2 次插入0 次删除
  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",