Fixed assignees names for issues
This commit is contained in:
parent
22f921b668
commit
a6262c9559
10
source/app.d
10
source/app.d
|
@ -59,8 +59,14 @@ void issueHandler(HTTPServerRequest request, HTTPServerResponse response)
|
|||
|
||||
JSONValue[] assignees = issueBlock["assignees"].array();
|
||||
|
||||
|
||||
ircBot.channelMessage("Opened issue '"~issueTitle~"' by "~to!(string)(assignees), "#tlang");
|
||||
|
||||
string[] assigneeNames;
|
||||
foreach(JSONValue assignee; assignees)
|
||||
{
|
||||
assigneeNames~=assignee["username"].str();
|
||||
}
|
||||
|
||||
ircBot.channelMessage("Opened issue '"~issueTitle~"' by "~to!(string)(assigneeNames), "#tlang");
|
||||
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue