mirror of
https://github.com/aleleba/create-node-ts-graphql-server.git
synced 2025-07-01 02:08:27 -06:00
Adding to controllers object params.
This commit is contained in:
@ -13,10 +13,10 @@ const resolvers = {
|
||||
testMutation: (rootValue, args, context) => ({}),
|
||||
},
|
||||
Test: {
|
||||
test: (rootValue, args, context) => getTest(rootValue, args, context)
|
||||
test: (rootValue, args, context) => getTest({rootValue, args, context})
|
||||
},
|
||||
TestMutation: {
|
||||
testMutation: (rootValue, args, context) => addText(rootValue, args, context)
|
||||
testMutation: (rootValue, args, context) => addText({rootValue, args, context})
|
||||
}
|
||||
};
|
||||
|
||||
|
Reference in New Issue
Block a user