Skip to content

Commit 1701be1

Browse files
committed
Fix bug in a main app
1 parent 2e164a6 commit 1701be1

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
# Getting Start Unit Test for an HTTP REST Application with Python
2-
- version: 1.0
3-
- Last update: Jul 2022
2+
- version: 1.1
3+
- Last update: Jan 2023
44
- Environment: Windows
55
- Prerequisite: [Access to RDP credentials](#prerequisite)
66

app.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -62,7 +62,7 @@ def convert_pandas(json_data):
6262
sys.exit(1)
6363

6464
esg_data = None
65-
esg_data = rdp_controller.rdp_getESG(esg_endpoint, access_token, universe)
65+
esg_data = rdp_controller.rdp_request_esg(esg_endpoint, access_token, universe)
6666
if not esg_data:
6767
print(f'No ESG data for {universe}, exiting application')
6868

@@ -76,7 +76,7 @@ def convert_pandas(json_data):
7676
'Filter': f'RIC eq \'{universe}\'',
7777
'Select': 'IssuerCommonName,DocumentTitle,RCSExchangeCountryLeaf,IssueISIN,ExchangeName,ExchangeCode,SearchAllCategoryv3,RCSTRBC2012Leaf'
7878
}
79-
company_data = rdp_controller.rdp_getSearchExplore(search_endpoint, access_token, search_payload)
79+
company_data = rdp_controller.rdp_request_search_explore(search_endpoint, access_token, search_payload)
8080
if not company_data:
8181
print(f'No Meta data for {universe}, exiting application')
8282
print(f'RIC: {universe} Metadata:')

0 commit comments

Comments
 (0)