From 451602beb5a0d1e39e5d75f8fa6aa98a08995227 Mon Sep 17 00:00:00 2001 From: tonyrewin Date: Thu, 24 Nov 2022 21:24:42 +0300 Subject: [PATCH] new-types --- src/graphql/mutation/article-create.ts | 2 +- src/graphql/types.gen.ts | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/graphql/mutation/article-create.ts b/src/graphql/mutation/article-create.ts index 0f2ef0ba..03d445d8 100644 --- a/src/graphql/mutation/article-create.ts +++ b/src/graphql/mutation/article-create.ts @@ -2,7 +2,7 @@ import { gql } from '@urql/core' export default gql` mutation CreateShoutMutation($shout: ShoutInput!) { - createShout(input: $shout) { + createShout(inp: $shout) { error shout { _id: slug diff --git a/src/graphql/types.gen.ts b/src/graphql/types.gen.ts index 5b255416..142fb840 100644 --- a/src/graphql/types.gen.ts +++ b/src/graphql/types.gen.ts @@ -214,7 +214,7 @@ export type MutationCreateReactionArgs = { } export type MutationCreateShoutArgs = { - input: ShoutInput + inp: ShoutInput } export type MutationCreateTopicArgs = {