fix(assets): 资产列表不能用到`assets_amount`字段

pull/4854/head
xinwen 2020-10-19 16:31:55 +08:00 committed by Jiangjie.Bai
parent e2d8eee629
commit 87d2798612
1 changed files with 1 additions and 1 deletions

View File

@ -33,7 +33,7 @@ def is_asset_exists_in_node(asset_pk, node_key):
def is_query_node_all_assets(request):
request = request
query_all_arg = request.query_params.get('all')
query_all_arg = request.query_params.get('all', 'true')
show_current_asset_arg = request.query_params.get('show_current_asset')
if show_current_asset_arg is not None:
return not is_true(show_current_asset_arg)