added embed url to api return #529
1 changed files with 4 additions and 3 deletions
|
@ -77,6 +77,7 @@ const claimPublish = ({ body, files, headers, ip, originalUrl, user, tor }, res)
|
||||||
name,
|
name,
|
||||||
claimId : result.claim_id,
|
claimId : result.claim_id,
|
||||||
url : `${host}/${result.claim_id}/${name}`,
|
url : `${host}/${result.claim_id}/${name}`,
|
||||||
|
embedUrl: `${host}/asset/${name}/${result.claim_id}`,
|
||||||
lbryTx : result,
|
lbryTx : result,
|
||||||
},
|
},
|
||||||
});
|
});
|
||||||
|
|
Loading…
Reference in a new issue