Skip to content

Commit

Permalink
test: log params
Browse files Browse the repository at this point in the history
  • Loading branch information
leguass7 committed Nov 14, 2024
1 parent ab8c9bf commit 792f6e0
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 1 deletion.
1 change: 1 addition & 0 deletions dist/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -30024,6 +30024,7 @@ async function getPRDetails() {
pull_number: 10
};
const octokit = github.getOctokit(token);
console.log('PARAMS: \n', (0, helpers_1.stringify)(params));
const response = await octokit.rest.pulls.get(params);
const result = {
action: event.action,
Expand Down
2 changes: 1 addition & 1 deletion dist/index.js.map

Large diffs are not rendered by default.

1 change: 1 addition & 0 deletions src/lib/github.ts
Original file line number Diff line number Diff line change
Expand Up @@ -60,6 +60,7 @@ export async function getPRDetails(): Promise<PRDetails | null> {

const octokit = github.getOctokit(token);

console.log('PARAMS: \n', stringify(params));
const response = await octokit.rest.pulls.get(params);

const result: PRDetails = {
Expand Down

0 comments on commit 792f6e0

Please sign in to comment.