diff --git a/app.py b/app.py index 0ff228d..66426a8 100644 --- a/app.py +++ b/app.py @@ -95,7 +95,7 @@ def gitea_push(): issue = re.search(r'TUN-\d+', commit['message']) if issue: issue_id = issue.group() - data_ = {'query': '{ issue(id: "%s") { title state { name }}}' % issue_id} + data_ = {'query': '{ issue(id: "%s") { title state { name type }}}' % issue_id} resp = requests.post(LINEAR_API_URL, json=data_, headers=headers) if resp.status_code != 200: logger.error('Failed to get issue: %s' % resp.text)