aboutsummaryrefslogtreecommitdiffstats
path: root/webui/src/components/ReopenBugButton/OpenBug.graphql
diff options
context:
space:
mode:
authorMichael Muré <batolettre@gmail.com>2024-08-28 11:43:42 +0200
committerGitHub <noreply@github.com>2024-08-28 09:43:42 +0000
commit57e7147021e38b847213d4dc7f0e0bf0b022850d (patch)
tree882650697950003e2325f0815353032a8596ca1d /webui/src/components/ReopenBugButton/OpenBug.graphql
parente45c3c5ee6dc5650fd8c3f480d9e09e5f3b221fd (diff)
downloadgit-bug-57e7147021e38b847213d4dc7f0e0bf0b022850d.tar.gz
graphql: properly namespace Bug to make space for other entities (#1254)
Also: use gqlgen directives to help the type auto-binding Missing: - namespace mutations - adapt the webUI queries
Diffstat (limited to 'webui/src/components/ReopenBugButton/OpenBug.graphql')
-rw-r--r--webui/src/components/ReopenBugButton/OpenBug.graphql4
1 files changed, 2 insertions, 2 deletions
diff --git a/webui/src/components/ReopenBugButton/OpenBug.graphql b/webui/src/components/ReopenBugButton/OpenBug.graphql
index 12673e65..69f39058 100644
--- a/webui/src/components/ReopenBugButton/OpenBug.graphql
+++ b/webui/src/components/ReopenBugButton/OpenBug.graphql
@@ -1,5 +1,5 @@
-mutation openBug($input: OpenBugInput!) {
- openBug(input: $input) {
+mutation openBug($input: BugStatusOpenInput!) {
+ bugStatusOpen(input: $input) {
bug {
id
}