forked from LBRYCommunity/lbry-sdk
fix intermittent bug where claim metadata was cleared out
This commit is contained in:
parent
c1c9c2c578
commit
aec0bd5d11
1 changed files with 1 additions and 1 deletions
|
@ -172,7 +172,7 @@ class JSONResponseEncoder(JSONEncoder):
|
|||
'normalized_name': txo.normalized_name,
|
||||
'claim_id': txo.claim_id,
|
||||
'permanent_url': txo.permanent_url,
|
||||
'meta': self.encode_claim_meta(txo.meta)
|
||||
'meta': self.encode_claim_meta(txo.meta.copy())
|
||||
})
|
||||
if 'short_url' in output['meta']:
|
||||
output['short_url'] = output['meta'].pop('short_url')
|
||||
|
|
Loading…
Reference in a new issue