mirror of
https://github.com/pd4d10/git-touch.git
synced 2026-05-01 11:57:37 -05:00
refactor: create issue api
This commit is contained in:
13
lib/graphql/gh_create_issue.graphql
Normal file
13
lib/graphql/gh_create_issue.graphql
Normal file
@@ -0,0 +1,13 @@
|
||||
mutation GhCreateIssue($repoId: ID!, $title: String!, $body: String!) {
|
||||
createIssue(input: { repositoryId: $repoId, title: $title, body: $body }) {
|
||||
issue {
|
||||
number
|
||||
repository {
|
||||
owner {
|
||||
login
|
||||
}
|
||||
name
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user