Skip to content

Commit 906486e

Browse files
committed
fix async fn
1 parent aef927c commit 906486e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/bot.mjs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -123,7 +123,7 @@ Link: [${link}](${link})
123123
userStream = sbot.createUserStream({ live: true, id })
124124
pull(
125125
userStream,
126-
pull.mapAsync(decodePrivate(sbot)),
126+
pull.asyncMap(decodePrivate(sbot)),
127127
pull.filter(commandFilter),
128128
pull.take(onSbotCommand)
129129
)

0 commit comments

Comments
 (0)