Rename IssueCreate mutation

This follows the "NounVerb" convention we got going on
This commit is contained in:
Mislav Marohnić 2020-07-10 18:08:16 +02:00
parent 8c50745431
commit d96e88c223

View file

@ -88,7 +88,7 @@ const fragments = `
// IssueCreate creates an issue in a GitHub repository
func IssueCreate(client *Client, repo *Repository, params map[string]interface{}) (*Issue, error) {
query := `
mutation CreateIssue($input: CreateIssueInput!) {
mutation IssueCreate($input: CreateIssueInput!) {
createIssue(input: $input) {
issue {
url