Skip to content

Commit 2f65252

Browse files
authored
Merge pull request #654 from segmentio/repo-sync
repo sync
2 parents ccea9aa + bdb57b3 commit 2f65252

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/connections/functions/destination-functions.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -258,7 +258,7 @@ async function onBatch(events, settings) {
258258
// ...handle other event types here...
259259
}
260260
})
261-
return Promise.all(promises)
261+
await Promise.all(promises)
262262
}
263263

264264
async function onTrackBatch(events, settings) {

0 commit comments

Comments
 (0)