Skip to content

Commit

Permalink
fixed failing tests
Browse files Browse the repository at this point in the history
  • Loading branch information
YulNaumenko committed Aug 12, 2020
1 parent 36d82b6 commit e11be08
Showing 1 changed file with 6 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -52,10 +52,13 @@ export async function initPlugin() {
);
return;
});
} else {
request.on('end', () => {
response.statusCode = 400;
response.end('unknown request to webhook simulator [no content]');
return;
});
}
response.statusCode = 400;
response.end('unknown request to webhook simulator [no content]');
return;
});
}

Expand Down

0 comments on commit e11be08

Please sign in to comment.