瀏覽代碼

修改证书返回值

YuXinLong 1 年之前
父節點
當前提交
da87389b13
共有 1 個文件被更改,包括 1 次插入1 次删除
  1. 1 1
      server/CertificateCloudflareServer.go

+ 1 - 1
server/CertificateCloudflareServer.go

@@ -100,7 +100,7 @@ func (s *CertificateServer) EditCertificate(ctx context.Context, requestCloudfla
 	editCertificate, err := api.UpdateSSL(ctxAPI, id, requestCloudflare.GetCertificateId(), zoneCustomSSL)
 	if err != nil {
 		return &cert.EditCertificateReplyCloudflare{
-			Success: true,
+			Success: false,
 		}, err
 	}
 	return &cert.EditCertificateReplyCloudflare{