Skip to content

Commit

Permalink
Update import format on readme (#344)
Browse files Browse the repository at this point in the history
  • Loading branch information
cechiorlu authored Jan 14, 2022
1 parent 31248e2 commit 78997f9
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions readme.md
Original file line number Diff line number Diff line change
Expand Up @@ -21,11 +21,11 @@ yarn add redis@v3 connect-redis express-session
## API

```js
const redis = require('redis')
const { createClient } = require('redis')
const session = require('express-session')

let RedisStore = require('connect-redis')(session)
let redisClient = redis.createClient()
let redisClient = createClient()

app.use(
session({
Expand Down

0 comments on commit 78997f9

Please sign in to comment.