fix: use claimName instead of contentName in buildURI

This commit is contained in:
Akinwale Ariwodola 2019-08-26 19:02:46 +01:00
parent ea72da47df
commit 3fa1ed2796
4 changed files with 4 additions and 4 deletions

2
dist/bundle.es.js vendored
View file

@ -1590,7 +1590,7 @@ const doCheckSubscription = (subscriptionUri, shouldNotify) => (dispatch, getSta
const newUnread = [];
claimsInChannel.slice(0, latestIndexToNotify).forEach(claim => {
const uri = lbryRedux.buildURI({
contentName: claim.name,
claimName: claim.name,
claimId: claim.claim_id
}, true);

View file

@ -18,7 +18,7 @@
"name": "LBRY Inc.",
"email": "hello@lbry.io"
},
"main": "dist/bundle.es.js",
"main": "dist/bundle.js",
"module": "dist/bundle.es.js",
"scripts": {
"build": "rollup --config",

View file

@ -186,7 +186,7 @@ export const doCheckSubscription = (subscriptionUri: string, shouldNotify?: bool
const newUnread = [];
claimsInChannel.slice(0, latestIndexToNotify).forEach(claim => {
const uri = buildURI({ contentName: claim.name, claimId: claim.claim_id }, true);
const uri = buildURI({ claimName: claim.name, claimId: claim.claim_id }, true);
const shouldDownload =
shouldAutoDownload &&
Boolean(downloadCount < SUBSCRIPTION_DOWNLOAD_LIMIT && !claim.value.stream.metadata.fee);

View file

@ -2683,7 +2683,7 @@ lodash.get@^4.4.2:
version "4.4.2"
resolved "https://registry.yarnpkg.com/lodash.get/-/lodash.get-4.4.2.tgz#2d177f652fa31e939b4438d5341499dfa3825e99"
lodash@^4.13.1, lodash@^4.17.10, lodash@^4.17.11, lodash@^4.17.2, lodash@^4.17.4, lodash@^4.17.5, lodash@^4.2.0, lodash@^4.3.0:
lodash@^4.17.10, lodash@^4.17.11, lodash@^4.17.4, lodash@^4.17.5, lodash@^4.2.0, lodash@^4.3.0:
version "4.17.15"
resolved "https://registry.yarnpkg.com/lodash/-/lodash-4.17.15.tgz#b447f6670a0455bbfeedd11392eff330ea097548"