aboutsummaryrefslogtreecommitdiffstats
path: root/webui/src/components/CloseBugButton
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/CloseBugButton
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/CloseBugButton')
-rw-r--r--webui/src/components/CloseBugButton/CloseBug.graphql4
1 files changed, 2 insertions, 2 deletions
diff --git a/webui/src/components/CloseBugButton/CloseBug.graphql b/webui/src/components/CloseBugButton/CloseBug.graphql
index fc03d1f3..bfcb1a60 100644
--- a/webui/src/components/CloseBugButton/CloseBug.graphql
+++ b/webui/src/components/CloseBugButton/CloseBug.graphql
@@ -1,6 +1,6 @@
# Write your query or mutation here
-mutation closeBug($input: CloseBugInput!) {
- closeBug(input: $input) {
+mutation closeBug($input: BugStatusCloseInput!) {
+ bugStatusClose(input: $input) {
bug {
id
}