Adding to controllers object params.

This commit is contained in:
2022-05-30 12:52:37 +00:00
parent 45763ff6e6
commit 52cb31e609
3 changed files with 5 additions and 5 deletions

View File

@ -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})
}
};