From 76af80e2f8fc04174265327a9c7e6c7b859db6b9 Mon Sep 17 00:00:00 2001 From: Noah Metz Date: Fri, 21 Jul 2023 14:00:45 -0600 Subject: [PATCH] Fixed mutation names --- context.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/context.go b/context.go index 6008111..9c12447 100644 --- a/context.go +++ b/context.go @@ -208,8 +208,8 @@ func NewContext(db * badger.DB, log Logger) * Context { ctx.GQL.Subscription.AddFieldConfig("Update", GQLSubscriptionUpdate()) ctx.GQL.Subscription.AddFieldConfig("Self", GQLSubscriptionSelf()) - ctx.GQL.Mutation.AddFieldConfig("SendUpdate", GQLMutationSendUpdate()) - ctx.GQL.Mutation.AddFieldConfig("StartChild", GQLMutationStartChild()) + ctx.GQL.Mutation.AddFieldConfig("sendUpdate", GQLMutationSendUpdate()) + ctx.GQL.Mutation.AddFieldConfig("startChild", GQLMutationStartChild()) err = ctx.RebuildSchema() if err != nil {