From 1a310ef0a1d15d86cb13d9a7fc0002b34c3d13f3 Mon Sep 17 00:00:00 2001 From: Raunak Gurud Date: Wed, 31 Jan 2024 12:22:23 +0530 Subject: [PATCH] refactor: #20 --- dist/index.js | 1 - src/index.ts | 2 -- 2 files changed, 3 deletions(-) diff --git a/dist/index.js b/dist/index.js index d6d4e8d..4bbbcf8 100644 --- a/dist/index.js +++ b/dist/index.js @@ -59383,7 +59383,6 @@ async function run() { const hashnode_key = (0, core_1.getInput)("hashnode_key"); (0, core_1.setSecret)(hashnode_key); const response = await (0, controller_1.getUser)(hashnode_key); - console.log(response); if (response.errors) { (0, core_1.setOutput)("result_json", response.data); const summary = `Invalid hashnode_key: error - ${response === null || response === void 0 ? void 0 : response.errors[0].message}`; diff --git a/src/index.ts b/src/index.ts index 314d32b..6669aff 100644 --- a/src/index.ts +++ b/src/index.ts @@ -19,8 +19,6 @@ export async function run() { const response = await getUser(hashnode_key); - console.log(response); - if (response.errors) { setOutput("result_json", response.data); const summary = `Invalid hashnode_key: error - ${response?.errors[0].message}`;