Skip to content

Commit

Permalink
Update packages/keystone/src/lib/core/mutations/index.ts
Browse files Browse the repository at this point in the history
Co-authored-by: Tim Leslie <timl@thinkmill.com.au>
  • Loading branch information
emmatown and timleslie authored Jul 28, 2021
1 parent c63eae5 commit 857bccd
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/keystone/src/lib/core/mutations/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ export function getMutationsForList(list: InitialisedList, provider: DatabasePro
type: list.types.output,
args: { data: schema.arg({ type: schema.nonNull(list.types.create) }) },
resolve(_rootVal, { data }, context) {
return createAndUpdate.createOne({ data: data }, list, context);
return createAndUpdate.createOne({ data }, list, context);
},
});

Expand Down

0 comments on commit 857bccd

Please sign in to comment.