Merge pull request #38 from lbryio/fix-share-link
Fix convertToShareLink
This commit is contained in:
commit
9a7b44fb74
2 changed files with 10 additions and 2 deletions
9
dist/bundle.js
vendored
9
dist/bundle.js
vendored
|
@ -1319,7 +1319,14 @@ function isURIClaimable(URI) {
|
|||
}
|
||||
|
||||
function convertToShareLink(URI) {
|
||||
return buildURI(parseURI(URI), true, 'https://open.lbry.io/');
|
||||
var _parseURI2 = parseURI(URI),
|
||||
claimName = _parseURI2.claimName,
|
||||
path = _parseURI2.path,
|
||||
bidPosition = _parseURI2.bidPosition,
|
||||
claimSequence = _parseURI2.claimSequence,
|
||||
claimId = _parseURI2.claimId;
|
||||
|
||||
return buildURI({ claimName: claimName, path: path, claimSequence: claimSequence, bidPosition: bidPosition, claimId: claimId }, true, 'https://open.lbry.io/');
|
||||
}
|
||||
|
||||
/***/ }),
|
||||
|
|
|
@ -230,5 +230,6 @@ export function isURIClaimable(URI) {
|
|||
}
|
||||
|
||||
export function convertToShareLink(URI) {
|
||||
return buildURI(parseURI(URI), true, 'https://open.lbry.io/');
|
||||
const { claimName, path, bidPosition, claimSequence, claimId } = parseURI(URI);
|
||||
return buildURI({ claimName, path, claimSequence, bidPosition, claimId }, true, 'https://open.lbry.io/');
|
||||
}
|
||||
|
|
Loading…
Add table
Reference in a new issue