diff --git a/PLUGINS.md b/PLUGINS.md index 1f8569029..eeb033d5a 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(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; }