diff --git a/scripts/build_message_web.py b/scripts/build_message_web.py index 40836d23f..86bda7e90 100644 --- a/scripts/build_message_web.py +++ b/scripts/build_message_web.py @@ -30,7 +30,7 @@ def fetch_current_indexed_sdk_files(es : Elasticsearch, index_name): for eachHit in response['hits']['hits']: if not 'name' in eachHit['_source']: continue - if 'necto_package' == eachHit['_type']: + if '_doc' == eachHit['_type']: if False == eachHit['_source']['hidden']: all_packages.append(eachHit['_source']) @@ -198,4 +198,4 @@ def fetch_current_indexed_click_boards(es : Elasticsearch, index_name): with open(os.path.join(os.getcwd(), 'message.txt'), 'w') as file: file.write(todays_release) - print(todays_release) \ No newline at end of file + print(todays_release)