@webqit/webflo 0.11.42 → 0.11.43-0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/package.json
CHANGED
|
@@ -205,9 +205,12 @@ export async function webhook(httpEvent, router, next) {
|
|
|
205
205
|
new navigationEvent.Response(null, { status: exitCode === 0 ? 200 : 500 })
|
|
206
206
|
);
|
|
207
207
|
});
|
|
208
|
+
console.log(httpEvent.request.headers.get('x-github-delivery'));
|
|
209
|
+
console.log(httpEvent.request.headers.get('x-github-event'));
|
|
210
|
+
console.log(payload);
|
|
208
211
|
webhookEventHandler.receive({
|
|
209
212
|
id: httpEvent.request.headers.get('x-github-delivery'),
|
|
210
|
-
name: httpEvent.request.headers.get('x-github-
|
|
213
|
+
name: httpEvent.request.headers.get('x-github-event'),
|
|
211
214
|
payload: payload /* JSON object */,
|
|
212
215
|
});
|
|
213
216
|
});
|