Skip to content

Commit dc7bcd9

Browse files
authored
Fix import in code snippet (#187)
1 parent b720d5f commit dc7bcd9

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ A redlock object is instantiated with an array of at least one redis client and
2626

2727
```ts
2828
import Client from "ioredis";
29-
import Redlock from "./redlock";
29+
import Redlock from "redlock";
3030

3131
const redisA = new Client({ host: "a.redis.example.com" });
3232
const redisB = new Client({ host: "b.redis.example.com" });

0 commit comments

Comments
 (0)