Changing API path and updating API Docs for asset icons.

This commit is contained in:
softsimon
2021-12-20 04:01:04 +04:00
parent 25e2408d02
commit 59df84b638
4 changed files with 84 additions and 20 deletions

View File

@@ -272,8 +272,8 @@ class Server {
if (config.MEMPOOL.NETWORK === 'liquid') {
this.app
.get(config.MEMPOOL.API_URL_PREFIX + 'liquid/icons', routes.getAllLiquidIcon)
.get(config.MEMPOOL.API_URL_PREFIX + 'liquid/icon/:assetId', routes.getLiquidIcon)
.get(config.MEMPOOL.API_URL_PREFIX + 'assets/icons', routes.getAllLiquidIcon)
.get(config.MEMPOOL.API_URL_PREFIX + 'asset/:assetId/icon', routes.getLiquidIcon)
;
}