Fix share link

Pass correct
This commit is contained in:
Thomas Zarebczan 2018-05-31 01:58:25 -04:00 committed by GitHub
parent fb27fb6638
commit 0ce174c2ef
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -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/');
}