Skip to content

Commit

Permalink
chore: debug
Browse files Browse the repository at this point in the history
  • Loading branch information
Keyrxng committed May 17, 2024
1 parent aaa775e commit 98daae2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/utils/issue.ts
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ export async function addCommentToIssue(context: Context, message: HandlerReturn
comment = comment.concat(metadataSerializedAsComment);
}

const payload = JSON.parse(context.payload);
const { payload } = context;

console.log("payload", payload);
const issueNumber = payload.issue.number;
Expand Down

0 comments on commit 98daae2

Please sign in to comment.