From 97197eaf67c168c5aea634564a32de4b106fae46 Mon Sep 17 00:00:00 2001 From: Giau Tran Minh Date: Sun, 21 May 2017 12:24:11 +0700 Subject: [PATCH] Wrong example. I think there are a mistake. :p --- README.md | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/README.md b/README.md index 1d0961c..df78517 100644 --- a/README.md +++ b/README.md @@ -149,16 +149,16 @@ Combine your resolvers into a single definition ready for use by `graphql-tools` ```javascript import { combineResolvers } from 'apollo-resolvers'; -import { updateMyProfile } from './user'; -import { banUser } from './admin'; +import User from './user'; +import Admin from './admin'; /* This combines our multiple resolver definition objects into a single definition object */ const resolvers = combineResolvers([ - updateMyProfile, - banUser + User, + Admin ]); export default resolvers;