From 4b8fb48f636de1ce555f062db5531fdfabe1a403 Mon Sep 17 00:00:00 2001 From: David Erwin Date: Thu, 16 Mar 2017 14:32:59 -0400 Subject: [PATCH] Fix bug in example --- PLUGINS.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/PLUGINS.md b/PLUGINS.md index eeb033d5a..20ba789be 100644 --- a/PLUGINS.md +++ b/PLUGINS.md @@ -248,7 +248,7 @@ module.exports = { hooks: { RootMutation: { createPerson: { - post: async (obj, args, {plugins: {Slack}}, person) { + post: async (obj, args, {plugins: {Slack}}, person) => { if (!person) { return person; }