Skip to content

Commit

Permalink
Update helper.py
Browse files Browse the repository at this point in the history
  • Loading branch information
arthurosipyan committed Nov 20, 2018
1 parent cf7f332 commit 62336ac
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion JamaScript/helper.py
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@ def get_access_token():
def get_project_name():
msg = welcome + "\n Please enter the Project API-ID"
global project_api_id
project_api_id = integerbox(msg, title, upperbound=300,)
project_api_id = integerbox(msg, title, upperbound=1000)
url = base_url + "/rest/latest/projects/" + str(project_api_id)
headers = {"Authorization": "Bearer " + access_token, "Content-Type": "application/json"}
response = requests.request("GET", url, headers=headers)
Expand Down

0 comments on commit 62336ac

Please sign in to comment.