added url property back to response for app backwards compatability

This commit is contained in:
bill bittner 2018-07-17 11:07:41 -07:00
parent 573f7f87ca
commit 93325c3e98

View file

@ -76,7 +76,7 @@ const claimPublish = ({ body, files, headers, ip, originalUrl, user, tor }, res)
data : { data : {
name, name,
claimId : result.claim_id, claimId : result.claim_id,
showUrl : `${host}/${result.claim_id}/${name}`, url : `${host}/${result.claim_id}/${name}`,
embedUrl: `${host}/asset/${name}/${result.claim_id}`, embedUrl: `${host}/asset/${name}/${result.claim_id}`,
lbryTx : result, lbryTx : result,
}, },