comments models
This commit is contained in:
@@ -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 ""
|
||||||
|
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user