Add state

This commit is contained in:
Sergey Dolin
2023-06-22 13:20:34 +02:00
parent 51c18470e1
commit 79fe616082
24 changed files with 7306 additions and 44 deletions

View File

@@ -34,7 +34,7 @@ export class Issue implements IIssue {
this.number = issue.number;
this.created_at = issue.created_at;
this.updated_at = issue.updated_at;
this.draft = issue.draft || false;
this.draft = Boolean(issue.draft);
this.labels = mapLabels(issue.labels);
this.pull_request = issue.pull_request;
this.state = issue.state;