Skip to content

Commit

Permalink
hotfix: wrong type in PR nim-lang#28
Browse files Browse the repository at this point in the history
  • Loading branch information
ThomasTJdev authored Dec 30, 2021
1 parent ef30e75 commit 2b75441
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/redis.nim
Original file line number Diff line number Diff line change
Expand Up @@ -1141,7 +1141,7 @@ proc subscribe*(r: AsyncRedis, channel: string) {.async.} =

proc subscribe*(r: AsyncRedis, channels: seq[string]) {.async.} =
## Listen for messages published to the given channels
await r.sendCommand("SUBSCRIBE", @[channels])
await r.sendCommand("SUBSCRIBE", channels)
for c in channels:
let commandback = await r.readNext()

Expand Down

0 comments on commit 2b75441

Please sign in to comment.