Fixed bug in docs

This commit is contained in:
Wyatt Johnson
2017-03-16 12:31:25 -06:00
parent d0ec7bbad1
commit 4a416d9477
+2 -2
View File
@@ -149,7 +149,7 @@ This will merge with the existing resolvers in core and from previous plugins.
{
RootMutation: {
createPerson: {
post(obj, args, {plugins: {Slack}}, person) {
post: async (obj, args, {plugins: {Slack}}, person) {
if (!person) {
return person;
}
@@ -248,7 +248,7 @@ module.exports = {
hooks: {
RootMutation: {
createPerson: {
post(obj, args, {plugins: {Slack}}, person) {
post: async (obj, args, {plugins: {Slack}}, person) {
if (!person) {
return person;
}