@@ -44,7 +44,7 @@ def handle_github_message(body, config, suffix):
4444 pr = body ["pull_request" ]
4545 if not u_issue .passes_github_filters (pr , config , upstream , item_type = "PR" ):
4646 return None
47- headers , github_client = u_issue ._github_client (config )
47+ headers , github_client = u_issue .get_github_client (config )
4848 reformat_github_pr (pr , upstream , github_client )
4949 u_issue .add_project_values (pr , upstream , headers , config , "pr_updates" )
5050 return i .PR .from_github (upstream , pr , suffix , config , body .get ("action" ))
@@ -59,7 +59,7 @@ def github_prs(upstream, config):
5959 :returns: a generator for GitHub PR objects
6060 :rtype: Generator[sync2jira.intermediary.PR]
6161 """
62- headers , github_client = u_issue ._github_client (config )
62+ headers , github_client = u_issue .get_github_client (config )
6363 for pr in u_issue .generate_github_items ("pulls" , upstream , config ):
6464 reformat_github_pr (pr , upstream , github_client )
6565 u_issue .add_project_values (pr , upstream , headers , config , "pr_updates" )
0 commit comments