Merge pull request #529 from lbryio/515-app-thumbnails

added embed url to api return
This commit is contained in:
Bill Bittner 2018-07-17 11:10:39 -07:00 committed by GitHub
commit c4cc953d01
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

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