Skip to content

Commit b512644

Browse files
authored
Merge pull request #66 from vigsterkr/github_fix
fix: github issues assignees are arrays not strings
2 parents a40e3fd + c3011df commit b512644

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

examples/plugins/github/issues.go

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -44,7 +44,7 @@ var (
4444
"title": prop("string", "The title of the issue"),
4545
"body": prop("string", "The body of the issue"),
4646
"state": prop("string", "The state of the issue"),
47-
"assignees": arrprop("string", "The assignees of the issue", "string"),
47+
"assignees": arrprop("array", "The assignees of the issue", "string"),
4848
"milestone": prop("integer", "The milestone of the issue"),
4949
},
5050
"required": []string{"owner", "repo", "title", "body"},
@@ -89,7 +89,7 @@ var (
8989
"title": prop("string", "The title of the issue"),
9090
"body": prop("string", "The body of the issue"),
9191
"state": prop("string", "The state of the issue"),
92-
"assignees": arrprop("string", "The assignees of the issue", "string"),
92+
"assignees": arrprop("array", "The assignees of the issue", "string"),
9393
"milestone": prop("integer", "The milestone of the issue"),
9494
},
9595
"required": []string{"owner", "repo", "issue"},

0 commit comments

Comments
 (0)