Skip to content

Commit

Permalink
fix: missing username
Browse files Browse the repository at this point in the history
  • Loading branch information
coltenkrauter committed Sep 25, 2024
1 parent cdeef1d commit 7f0ee9c
Show file tree
Hide file tree
Showing 5 changed files with 6 additions and 3 deletions.
1 change: 1 addition & 0 deletions .github/workflows/tests.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -32,5 +32,6 @@ jobs:
github-token: ${{ secrets.GH_TOKEN_GH_NOTIFIER }}
channels: C07L8EWB389
slack-token: ${{ secrets.SLACK_TOKEN_GH_NOTIFIER }}
with-test-data: true
- name: Print Output
run: echo "${{ steps.test-action.outputs.response }}"
1 change: 1 addition & 0 deletions dist/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -41957,6 +41957,7 @@ async function getPullBlocks(pull, slack, withUserMentions) {
});
const displayName = slackUser?.profile?.display_name;
const imageUrl = slackUser?.profile?.image_72;
console.log('Debug username', displayName, username, email, slackUser);
contextBlocks.push({
elements: [
{
Expand Down
2 changes: 1 addition & 1 deletion dist/index.js.map

Large diffs are not rendered by default.

4 changes: 2 additions & 2 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

1 change: 1 addition & 0 deletions src/utils/slack/blocks.ts
Original file line number Diff line number Diff line change
Expand Up @@ -148,6 +148,7 @@ export async function getPullBlocks(pull: Pull, slack: SlackClient, withUserMent
const displayName = slackUser?.profile?.display_name
const imageUrl = slackUser?.profile?.image_72

console.log('Debug username', displayName, username, email, slackUser)
contextBlocks.push({
elements: [
{
Expand Down

0 comments on commit 7f0ee9c

Please sign in to comment.