forked from LBRYCommunity/lbry-sdk
fix lint
This commit is contained in:
parent
0a0ac3b7c9
commit
4c5429af15
1 changed files with 3 additions and 1 deletions
|
@ -2321,7 +2321,9 @@ class Daemon(metaclass=JSONRPCServerType):
|
||||||
"""
|
"""
|
||||||
page_num, page_size = abs(kwargs.pop('page', 1)), min(abs(kwargs.pop('page_size', DEFAULT_PAGE_SIZE)), 50)
|
page_num, page_size = abs(kwargs.pop('page', 1)), min(abs(kwargs.pop('page_size', DEFAULT_PAGE_SIZE)), 50)
|
||||||
kwargs.update({'offset': page_size * (page_num - 1), 'limit': page_size})
|
kwargs.update({'offset': page_size * (page_num - 1), 'limit': page_size})
|
||||||
support_sums = await self.ledger.sum_supports(new_sdk_server, claim_id=claim_id, include_channel_content=include_channel_content, **kwargs)
|
support_sums = await self.ledger.sum_supports(
|
||||||
|
new_sdk_server, claim_id=claim_id, include_channel_content=include_channel_content, **kwargs
|
||||||
|
)
|
||||||
return {
|
return {
|
||||||
"items": support_sums,
|
"items": support_sums,
|
||||||
"page": page_num,
|
"page": page_num,
|
||||||
|
|
Loading…
Reference in a new issue