From 332ee97bce4f2664b6171d36bf78e7ba83c7a8b0 Mon Sep 17 00:00:00 2001 From: Brandon Keepers Date: Tue, 18 Jul 2017 20:29:12 +0200 Subject: [PATCH] Use receive api to deliver event --- bin/probot-simulate.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/bin/probot-simulate.js b/bin/probot-simulate.js index c719be44..f2f3055c 100755 --- a/bin/probot-simulate.js +++ b/bin/probot-simulate.js @@ -32,4 +32,4 @@ const plugins = require('../lib/plugin')(probot); plugins.load([pluginPath]); probot.robot.log('Simulating event', eventName); -probot.robot.webhook.emit(eventName, {event: eventName, payload}); +probot.receive({event: eventName, payload});