From 4273dcfa07d0193f4780916e67cb4897f9b9ba55 Mon Sep 17 00:00:00 2001 From: Joseph Manley Date: Thu, 26 Nov 2020 00:01:04 -0500 Subject: [PATCH] Remove https --- create_issue/lambda_function.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/create_issue/lambda_function.py b/create_issue/lambda_function.py index 3a0227c..5733959 100644 --- a/create_issue/lambda_function.py +++ b/create_issue/lambda_function.py @@ -14,7 +14,7 @@ def lambda_handler(event, context): token = secretsmanager.get_secret_value(SecretId=os.environ.get("GITHUB_TOKEN_SECRET")).get("SecretString") # GitHub client - github = Github(base_url=f"https://{os.environ.get('GITHUB_HOSTNAME','github.com')}/api/v3", login_or_token=token) + github = Github(base_url=f"{os.environ.get('GITHUB_HOSTNAME','github.com')}/api/v3", login_or_token=token) repo = github.get_repo(os.environ.get("REPOSITORY"))