...
 
Commits (2)
{
"name": "fxabot",
"version": "0.2.3",
"version": "0.2.4",
"private": true,
"description": "Downtrodden dogsbody for the Firefox Accounts team.",
"keywords": [
......
......@@ -61,7 +61,7 @@ module.exports = robot => {
const events = JSON.parse(response.body)
if (Array.isArray(events)) {
const prs = new Set()
response.body.forEach(event => {
events.forEach(event => {
const { action, number, pull_request: pr } = event.payload
if (event.type === 'PullRequestEvent' && ACTIONS.has(action) && ! prs.has(number)) {
prs.add(number)
......