From 610f19bea1da8f492d0fa5009dbc72b96fcd2113 Mon Sep 17 00:00:00 2001 From: Oleg Silkin Date: Tue, 1 Oct 2019 20:25:23 -0400 Subject: [PATCH] Updates api example generation for file_list --- lbry/scripts/generate_json_api.py | 1 + 1 file changed, 1 insertion(+) diff --git a/lbry/scripts/generate_json_api.py b/lbry/scripts/generate_json_api.py index 07cf07d98..3fac4d7d5 100644 --- a/lbry/scripts/generate_json_api.py +++ b/lbry/scripts/generate_json_api.py @@ -329,6 +329,7 @@ class Examples(CommandTestCase): 'List local files', 'file', 'list' ) + file_list_result = file_list_result.get('items') file_uri = f"{file_list_result[0]['claim_name']}#{file_list_result[0]['claim_id']}" await r( 'Resolve a claim',