mirror of
https://github.com/LBRYFoundation/lbry-sdk.git
synced 2025-09-07 02:59:53 +00:00
add lbry:// to permanent_url response field
This commit is contained in:
parent
3357a419ab
commit
fa8858325c
1 changed files with 1 additions and 1 deletions
|
@ -80,7 +80,7 @@ class Output(BaseOutput):
|
||||||
@property
|
@property
|
||||||
def permanent_url(self) -> str:
|
def permanent_url(self) -> str:
|
||||||
if self.script.is_claim_involved:
|
if self.script.is_claim_involved:
|
||||||
return f"{self.claim_name}#{self.claim_id}"
|
return f"lbry://{self.claim_name}#{self.claim_id}"
|
||||||
raise ValueError('No claim associated.')
|
raise ValueError('No claim associated.')
|
||||||
|
|
||||||
@property
|
@property
|
||||||
|
|
Loading…
Add table
Reference in a new issue