Fixed bug in docs

This commit is contained in:
Wyatt Johnson
2017-03-20 07:36:16 -07:00
committed by gaba
parent 32af28bfdc
commit a7c946f9af
+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;
}