From c7d4fe3c58ca0b0cf0ce74a29114302d66897ab5 Mon Sep 17 00:00:00 2001 From: Ching Date: Thu, 21 Mar 2024 15:16:17 +0800 Subject: [PATCH] =?UTF-8?q?fix:=20=E4=BF=AE=E5=A4=8D=E8=8E=B7=E5=8F=96=20i?= =?UTF-8?q?ssue=20=E5=8F=82=E6=95=B0=E4=B8=8D=E6=AD=A3=E7=A1=AE=E7=9A=84?= =?UTF-8?q?=E9=97=AE=E9=A2=98=20TUN-24?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- app.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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)