Jelajahi Sumber

修改证书返回值

YuXinLong 1 tahun lalu
induk
melakukan
da87389b13
1 mengubah file dengan 1 tambahan dan 1 penghapusan
  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{