Skip to content

Commit 2dde629

Browse files
committed
get-webhook-event-payload: add events one by one, not arrays of events
D'oh. Signed-off-by: Johannes Schindelin <johannes.schindelin@gmx.de>
1 parent 57ec7de commit 2dde629

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

get-webhook-event-payload.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -98,7 +98,7 @@
9898
const events = [...answer.events]
9999
while (answer.oldest.epoch > since) {
100100
answer = await getAtCursor(answer.oldest.id - 1)
101-
events.push([...answer.events])
101+
events.push(...answer.events)
102102
}
103103

104104
return events

0 commit comments

Comments
 (0)