From e5a2d627df52bb94fc015a595f38466746f4887e Mon Sep 17 00:00:00 2001 From: Wyatt Johnson Date: Tue, 21 Mar 2017 10:03:24 -0600 Subject: [PATCH] Fixed plugin examples --- PLUGINS.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/PLUGINS.md b/PLUGINS.md index 20ba789be..a77b0b8b2 100644 --- a/PLUGINS.md +++ b/PLUGINS.md @@ -149,7 +149,7 @@ This will merge with the existing resolvers in core and from previous plugins. { RootMutation: { createPerson: { - post: async (obj, args, {plugins: {Slack}}, person) { + post: async (obj, args, {plugins: {Slack}}, info, person) { if (!person) { return person; } @@ -248,7 +248,7 @@ module.exports = { hooks: { RootMutation: { createPerson: { - post: async (obj, args, {plugins: {Slack}}, person) => { + post: async (obj, args, {plugins: {Slack}}, info, person) => { if (!person) { return person; }