Skip to content
This repository was archived by the owner on Feb 19, 2020. It is now read-only.

Commit db580b9

Browse files
committed
Change API endpoint environment variable
Change API endpoint environment variable to CODACY_API_BASE_URL
1 parent 302aa9e commit db580b9

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/codacy/reporter.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@
1212
format='%(asctime)s - %(levelname)s - %(message)s')
1313

1414
CODACY_PROJECT_TOKEN = os.getenv('CODACY_PROJECT_TOKEN')
15-
CODACY_BASE_API_URL = os.getenv('CODACY_BASE_API_URL', 'https://api.codacy.com')
15+
CODACY_BASE_API_URL = os.getenv('CODACY_API_BASE_URL', 'https://api.codacy.com')
1616
URL = CODACY_BASE_API_URL + '/2.0/coverage/{commit}/python'
1717
DEFAULT_REPORT_FILE = 'coverage.xml'
1818

0 commit comments

Comments
 (0)