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:06 UTC
[pulsar-site] 01/01: fix: transaction rest api render
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"