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 = {