forked from LBRYCommunity/lbry-sdk
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
|
||||
def permanent_url(self) -> str:
|
||||
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.')
|
||||
|
||||
@property
|
||||
|
|
Loading…
Reference in a new issue