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

Commit

Permalink
invalid object is passed to AccountsServer's constructor
Browse files Browse the repository at this point in the history
  • Loading branch information
williamli authored Sep 27, 2018
1 parent 25e86a9 commit a5dd158
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 a5dd158

Please sign in to comment.