From a211db24a64c117e3835fdc406a11b8fcdedce9f Mon Sep 17 00:00:00 2001
From: BoYanZh <boyanzh233@gmail.com>
Date: Sun, 27 Oct 2024 22:03:19 -0400
Subject: [PATCH] fix: joj3 update issue title

---
 joint_teapot/app.py | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/joint_teapot/app.py b/joint_teapot/app.py
index 6454d08..fea4222 100644
--- a/joint_teapot/app.py
+++ b/joint_teapot/app.py
@@ -511,7 +511,7 @@ def joj3_all(
             joj3_issue = tea.pot.gitea.issue_api.issue_create_issue(
                 tea.pot.gitea.org_name,
                 submitter_repo_name,
-                body={"title": title, "body": ""},
+                body={"title": title_prefix, "body": ""},
             )
         gitea_issue_url = issue.html_url
         logger.info(f"gitea issue url: {gitea_issue_url}")
@@ -519,7 +519,7 @@ def joj3_all(
             tea.pot.gitea.org_name,
             submitter_repo_name,
             joj3_issue.number,
-            body={"body": comment},
+            body={"title": title, "body": comment},
         )
     if skip_scoreboard and skip_failed_table:
         return