Skip to content

Commit

Permalink
refactor: #20
Browse files Browse the repository at this point in the history
  • Loading branch information
raunakgurud09 committed Jan 31, 2024
1 parent 02902f8 commit 1a310ef
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 3 deletions.
1 change: 0 additions & 1 deletion dist/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -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}`;
Expand Down
2 changes: 0 additions & 2 deletions src/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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}`;
Expand Down

0 comments on commit 1a310ef

Please sign in to comment.