Skip to content

Commit 74ad69d

Browse files
committed
fix: fix async fn
1 parent 1cfa5fe commit 74ad69d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/bot.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -134,7 +134,7 @@ export default config => (err, sbot) => {
134134
userStream = sbot.createUserStream({ live: true, id })
135135
pull(
136136
userStream,
137-
pull.mapAsync(decodePrivate(sbot)),
137+
pull.asyncMap(decodePrivate(sbot)),
138138
pull.filter(commandFilter),
139139
pull.take(onSbotCommand)
140140
)

0 commit comments

Comments
 (0)