Skip to content
This repository has been archived by the owner on Oct 19, 2018. It is now read-only.

Commit

Permalink
Merge pull request #219 from williamli/patch-1
Browse files Browse the repository at this point in the history
invalid object is passed to AccountsServer's constructor
  • Loading branch information
pradel authored Sep 27, 2018
2 parents 25e86a9 + a5dd158 commit b72abca
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/pages/docs/transport/graphql.md
Original file line number Diff line number Diff line change
Expand Up @@ -39,15 +39,15 @@ const db = mongoose.connection

const password = new AccountsPassword()

const accountsServer = new AccountsServer({
const accountsServer = new AccountsServer(
{
db: new MongoDBInterface(db),
tokenSecret: 'SECRET',
},
{
password,
}
});
);
```

Next, import `createAccountsGraphQL` method from this package, and run it with your `AccountsServer`:
Expand Down

0 comments on commit b72abca

Please sign in to comment.