Skip to content

Commit 227a275

Browse files
committed
fix async fn
1 parent 0a488fb commit 227a275

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)