Skip to content

Commit

Permalink
fix scaffold mutation
Browse files Browse the repository at this point in the history
  • Loading branch information
POPPIN-FUMI committed Sep 12, 2023
1 parent b8e92bb commit 4d99c72
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/templates/graphql/graphqlMutation.ts
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ export const createModelCodes = async (modelName: string) => {
const modelNameUpper = await toUpperCase(modelName)
const modelNameLower = await toLowerCase(modelName)
let codeArray = [
`import { extendType, stringArg, intArg, floatArg, BooleanArg } from 'nexus'`,
`import { extendType, stringArg, intArg, floatArg, booleanArg } from 'nexus'`,
`import { toPrismaId } from '@/lib/toPrismaId'`,
`import { ${modelNameUpper} } from 'nexus-prisma'`,
`import { GraphQLError } from 'graphql'\n`,
Expand Down

0 comments on commit 4d99c72

Please sign in to comment.