You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@pulsar.apache.org by ur...@apache.org on 2022/07/12 11:19:05 UTC

[pulsar-site] branch fix-rest-api created (now fb3465a4638)

This is an automated email from the ASF dual-hosted git repository.

urfree pushed a change to branch fix-rest-api
in repository https://gitbox.apache.org/repos/asf/pulsar-site.git


      at fb3465a4638 fix: transaction rest api render

This branch includes the following new commits:

     new fb3465a4638 fix: transaction rest api render

The 1 revisions listed above as "new" are entirely new to this
repository and will be described in separate emails.  The revisions
listed as "add" were already present in the repository and have only
been added to this reference.



[pulsar-site] 01/01: fix: transaction rest api render

Posted by ur...@apache.org.
This is an automated email from the ASF dual-hosted git repository.

urfree pushed a commit to branch fix-rest-api
in repository https://gitbox.apache.org/repos/asf/pulsar-site.git

commit fb3465a4638790667fbae095b8446160b1d64569
Author: Li Li <ur...@apache.org>
AuthorDate: Tue Jul 12 19:18:54 2022 +0800

    fix: transaction rest api render
    
    Signed-off-by: Li Li <ur...@apache.org>
---
 site2/website-next/src/components/RestApi.js | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/site2/website-next/src/components/RestApi.js b/site2/website-next/src/components/RestApi.js
index c1bd975b151..5f11bb4e877 100644
--- a/site2/website-next/src/components/RestApi.js
+++ b/site2/website-next/src/components/RestApi.js
@@ -77,12 +77,12 @@ class RestApi extends React.Component {
         "spec-url",
         "/swagger/" + version + "/" + apiversion + "/swaggersink.json"
       );
-    } else if (pathName.indexOf("packages-rest-api" >= 0)) {
+    } else if (pathName.indexOf("packages-rest-api") >= 0) {
       redoc.setAttribute(
         "spec-url",
         "/swagger/" + version + "/" + apiversion + "/swaggerpackages.json"
       );
-    } else if (pathName.indexOf("transactions-rest-api" >= 0)) {
+    } else if (pathName.indexOf("transactions-rest-api") >= 0) {
       redoc.setAttribute(
         "spec-url",
         "/swagger/" + version + "/" + apiversion + "/swaggertransactions.json"