comments models

This commit is contained in:
Zakhar
2026-09-26 00:02:11 +03:00
parent dd211e6b9b
commit 7f15d0e0ac
+1 -1
View File
@@ -486,7 +486,7 @@ Now produce the JSON for the issue above.
def prior_comment_id(issue: IssueContext) -> str: def prior_comment_id(issue: IssueContext) -> str:
for c in reversed(issue.comments): for c in reversed(issue.comments):
if TriageMarker.parse(c.body): if TriageMarker.parse(c.body):
return c['id'] return c.id
return "" return ""