From 36b1c11c9020ef2c9616b7361efd741cd08e0d32 Mon Sep 17 00:00:00 2001 From: Erin Schnabel Date: Sat, 8 Jun 2024 16:36:59 -0400 Subject: [PATCH] =?UTF-8?q?=F0=9F=90=9B=20correct=20arguments=20for=20add/?= =?UTF-8?q?remove=20labels?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../org/commonhaus/automation/github/context/DataLabel.java | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/bot-github-core/src/main/java/org/commonhaus/automation/github/context/DataLabel.java b/bot-github-core/src/main/java/org/commonhaus/automation/github/context/DataLabel.java index e3857fb..7923979 100644 --- a/bot-github-core/src/main/java/org/commonhaus/automation/github/context/DataLabel.java +++ b/bot-github-core/src/main/java/org/commonhaus/automation/github/context/DataLabel.java @@ -144,7 +144,7 @@ mutation AddLabels($labelableId: ID!, $labelIds: [ID!]!, $after: String) { addLabelsToLabelable(input: { labelableId: $labelableId, labelIds: $labelIds}) { clientMutationId labelable { - """ + LABEL_FIELDS + """ + """ + PAGINATED_LABELS + """ } } }"""; @@ -176,7 +176,7 @@ mutation RemoveLabels($labelableId: ID!, $labelIds: [ID!]!, $after: String) { removeLabelsFromLabelable(input: { labelableId: $labelableId, labelIds: $labelIds}) { clientMutationId labelable { - """ + PAGINATED_LABELS + """ + """ + PAGINATED_LABELS + """ } } }"""; @@ -206,7 +206,7 @@ mutation CreateLabel($name: String!, $repositoryId: ID!, $color: String!) { createLabel(input: { name: $name, repositoryId: $repositoryId, color: $color }) { clientMutationId label { - """ + PAGINATED_LABELS + """ + """ + LABEL_FIELDS + """ } } }""";