Skip to content

Commit

Permalink
changed api docs url
Browse files Browse the repository at this point in the history
  • Loading branch information
niravparikh05 committed Jun 20, 2022
1 parent 5d62fa1 commit 147f1af
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion src/appMain/components/TopNavBar.js
Original file line number Diff line number Diff line change
Expand Up @@ -215,6 +215,8 @@ const TopNavBar = () => {
const hide = !UserSession.visibleAdmin;
const docs_link =
partnerDetail?.settings?.docs_link || "https://www.paralus.io/docs";
const api_docs = partnerDetail?.settings?.docs_link ||
"https://www.paralus.io/docs/references/api-reference"

return (
<div>
Expand Down Expand Up @@ -246,7 +248,7 @@ const TopNavBar = () => {
<NavButton
icon={<AssignmentIcon />}
label="API Docs"
path="/swagger-ui/"
path={api_docs}
blank
/>
</div>
Expand Down

0 comments on commit 147f1af

Please sign in to comment.