Fix block-height endpoint across networks

This commit is contained in:
hunicus
2022-01-12 09:53:45 -05:00
parent 58d334f9f1
commit e8ae05340a
2 changed files with 22 additions and 22 deletions

View File

@@ -335,7 +335,7 @@
<a class="section-header" [routerLink]="['./']" fragment="get-block-height">GET Block Height <span>Blocks</span></a>
<div class="endpoint">
<div class="subtitle" i18n="Api docs endpoint">Endpoint</div>
<a [href]="wrapUrl(network.val, code.blockHeader)" target="_blank">GET {{ baseNetworkUrl }}/api/block-height/:height</a>
<a [href]="wrapUrl(network.val, code.blockHeight)" target="_blank">GET {{ baseNetworkUrl }}/api/block-height/:height</a>
</div>
<div class="description">
<div class="subtitle" i18n>Description</div>