diff --git a/minecraft-slack-bot/minecraftBot.js b/minecraft-slack-bot/minecraftBot.js index beee388..58e93a3 100644 --- a/minecraft-slack-bot/minecraftBot.js +++ b/minecraft-slack-bot/minecraftBot.js @@ -40,8 +40,8 @@ async function invokeGithubAction(minecraftServerCommand) { }; // Make an HTTP POST request to trigger the GitHub Action const response = await axios.request(config); - console.log(`GitHub Action Response: ${{response}}`); - return response; + console.log(`GitHub Action Response: ${response.status} ${response.data}`); + return response.data; } exports.handler = async (event) => {