Merge pull request #271 from lbryio/show_returns
always show returns in API
This commit is contained in:
commit
9011adf048
1 changed files with 1 additions and 1 deletions
|
@ -120,7 +120,7 @@ function createApiContent(apiDetails) {
|
||||||
|
|
||||||
${apiDetail.arguments.length ? `<h3>Arguments</h3><ul class="api-content__body-arguments">${renderArguments(apiDetail.arguments).join("")}</ul>` : ""}
|
${apiDetail.arguments.length ? `<h3>Arguments</h3><ul class="api-content__body-arguments">${renderArguments(apiDetail.arguments).join("")}</ul>` : ""}
|
||||||
|
|
||||||
${!apiDetail.examples || !apiDetail.examples.length ? (`<h3>Returns</h3><pre><code>${dedent(apiDetailsReturns)}</code></pre>`) : ""}
|
<h3>Returns</h3><pre><code>${dedent(apiDetailsReturns)}</code></pre>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<div class="api-content__example">
|
<div class="api-content__example">
|
||||||
|
|
Loading…
Reference in a new issue