Skip to content

Commit

Permalink
Wrong example.
Browse files Browse the repository at this point in the history
I think there are a mistake. :p
  • Loading branch information
giautm authored May 21, 2017
1 parent 213b108 commit 97197ea
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down

0 comments on commit 97197ea

Please sign in to comment.