Skip to content

Commit

Permalink
Merge pull request #8 from giautm/patch-1
Browse files Browse the repository at this point in the history
Wrong example.
  • Loading branch information
thebigredgeek authored May 22, 2017
2 parents 213b108 + 97197ea commit d1df670
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 d1df670

Please sign in to comment.