Commit 4e473119 authored by Clement Ho's avatar Clement Ho

[skip ci] refactor processAssignees

parent 74b7d213
......@@ -27,11 +27,7 @@ class ListIssue {
this.labels.push(new ListLabel(label));
});
this.processAssignees(obj.assignees);
}
processAssignees(assignees) {
this.assignees = assignees.map(a => new ListAssignee(a));
this.assignees = obj.assignees.map(a => new ListAssignee(a));
}
addLabel (label) {
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment