diff --git a/index.mjs b/index.mjs index 1ae91ba..59402f9 100644 --- a/index.mjs +++ b/index.mjs @@ -81,7 +81,7 @@ app.post('/github', async (req, res) => { } console.log('\nRequest Payload:'); - console.log(request.text()); + console.log(await request.text()); console.log('\nResponse Headers:'); for (const header of response.headers) { @@ -110,4 +110,4 @@ const { app.listen(PORT, () => { console.log(`listening on http://127.0.0.1:${PORT}`) -}); \ No newline at end of file +});