Fixed mutation names

graph-rework-2
noah metz 2023-07-21 14:00:45 -06:00
parent d3f435351c
commit 76af80e2f8
1 changed files with 2 additions and 2 deletions

@ -208,8 +208,8 @@ func NewContext(db * badger.DB, log Logger) * Context {
ctx.GQL.Subscription.AddFieldConfig("Update", GQLSubscriptionUpdate()) ctx.GQL.Subscription.AddFieldConfig("Update", GQLSubscriptionUpdate())
ctx.GQL.Subscription.AddFieldConfig("Self", GQLSubscriptionSelf()) ctx.GQL.Subscription.AddFieldConfig("Self", GQLSubscriptionSelf())
ctx.GQL.Mutation.AddFieldConfig("SendUpdate", GQLMutationSendUpdate()) ctx.GQL.Mutation.AddFieldConfig("sendUpdate", GQLMutationSendUpdate())
ctx.GQL.Mutation.AddFieldConfig("StartChild", GQLMutationStartChild()) ctx.GQL.Mutation.AddFieldConfig("startChild", GQLMutationStartChild())
err = ctx.RebuildSchema() err = ctx.RebuildSchema()
if err != nil { if err != nil {