forked from LBRYCommunity/lbry-sdk
add category attribute in JSON RPC output for backwards compatibility
This commit is contained in:
parent
64913c4288
commit
8a6e6b4d77
1 changed files with 3 additions and 0 deletions
|
@ -80,6 +80,9 @@ class JSONResponseEncoder(JSONEncoder):
|
|||
else:
|
||||
output['type'] = 'basic'
|
||||
|
||||
# deprecated, will be removed after 0.30 release
|
||||
output['category'] = output['type']
|
||||
|
||||
return output
|
||||
|
||||
def encode_input(self, txi):
|
||||
|
|
Loading…
Reference in a new issue