summaryrefslogtreecommitdiffstats
path: root/client/bug_open.py
diff options
context:
space:
mode:
Diffstat (limited to 'client/bug_open.py')
-rwxr-xr-xclient/bug_open.py6
1 files changed, 3 insertions, 3 deletions
diff --git a/client/bug_open.py b/client/bug_open.py
index 17a3e4f..e9ecb19 100755
--- a/client/bug_open.py
+++ b/client/bug_open.py
@@ -38,16 +38,16 @@ def call(args):
ticket = {
'summary': summary,
'body': body,
- 'user_nickname': 'demi'
+ 'token': 'TOKENHERE'
}
headers = {
'Content-Type': 'application/json',
- 'Accept': 'text/plain'
+ 'Accept': 'text/plain',
}
payload = json.dumps(ticket)
- r = requests.post(api_endpoint, data=payload, headers=headers)
+ r = requests.post(api_endpoint, data=payload, headers=headers, verify=False)
t = json.loads(r.text).get('ticket')