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

pull/4854/head
xinwen 4 years ago committed by Jiangjie.Bai
parent e2d8eee629
commit 87d2798612

@ -33,7 +33,7 @@ def is_asset_exists_in_node(asset_pk, node_key):
def is_query_node_all_assets(request): def is_query_node_all_assets(request):
request = 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') show_current_asset_arg = request.query_params.get('show_current_asset')
if show_current_asset_arg is not None: if show_current_asset_arg is not None:
return not is_true(show_current_asset_arg) return not is_true(show_current_asset_arg)

Loading…
Cancel
Save