Skip to content

Commit

Permalink
docs: migration guide argument correction (#414)
Browse files Browse the repository at this point in the history
  • Loading branch information
rafaelkallis authored Apr 6, 2021
1 parent 6ba9af7 commit bbff285
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion MIGRATION_V4.md
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ Typescript:
import MongoStore from 'connect-mongo';
```

Create the store using `MongoStore.create({options})` instead of `new MongoStore({options})`
Create the store using `MongoStore.create(options)` instead of `new MongoStore(options)`

```js
app.use(session({
Expand Down

0 comments on commit bbff285

Please sign in to comment.