fix(platform): handle None value in issue body when fetching GitHub issues (#8773)

Co-authored-by: Reinier van der Leer <pwuts@agpt.co>
This commit is contained in:
Abhimanyu Yadav
2024-11-27 02:16:13 +05:30
committed by GitHub
parent 951948d239
commit 708ed9a91c

View File

@@ -234,9 +234,12 @@ class GithubReadIssueBlock(Block):
credentials,
input_data.issue_url,
)
yield "title", title
yield "body", body
yield "user", user
if title:
yield "title", title
if body:
yield "body", body
if user:
yield "user", user
class GithubListIssuesBlock(Block):