Skip to content

Commit

Permalink
Merge pull request #1947 from intuit/slack-msg-fix
Browse files Browse the repository at this point in the history
Remove `text` from non-app authed slack response
  • Loading branch information
adierkens committed May 11, 2021
2 parents 41ef9f6 + b9e2509 commit 5d33773
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 11 deletions.
10 changes: 0 additions & 10 deletions plugins/slack/__tests__/__snapshots__/slack.test.ts.snap
Expand Up @@ -428,7 +428,6 @@ Object {
},
],
"link_names": true,
"text": "New Releases: 1.0.0 :tada:",
}
`;
Expand Down Expand Up @@ -476,7 +475,6 @@ Object {
},
],
"link_names": true,
"text": "New Releases: 1.0.0 :tada:",
}
`;
Expand Down Expand Up @@ -530,7 +528,6 @@ Object {
},
],
"link_names": true,
"text": "New Release: :tada:",
}
`;
Expand Down Expand Up @@ -577,7 +574,6 @@ Object {
},
],
"link_names": true,
"text": "New Release: :tada:",
}
`;
Expand Down Expand Up @@ -624,7 +620,6 @@ Object {
},
],
"link_names": true,
"text": "New Release: :tada:",
}
`;
Expand Down Expand Up @@ -671,7 +666,6 @@ Object {
},
],
"link_names": true,
"text": "New Releases: 1.0.0 :tada:",
}
`;
Expand Down Expand Up @@ -718,7 +712,6 @@ Object {
},
],
"link_names": true,
"text": "New Releases: 1.0.0 :tada:",
}
`;
Expand Down Expand Up @@ -765,7 +758,6 @@ Object {
},
],
"link_names": true,
"text": "New Release: :tada:",
}
`;
Expand Down Expand Up @@ -812,7 +804,6 @@ Object {
},
],
"link_names": true,
"text": "New Releases: 1.0.0 :tada:",
}
`;
Expand Down Expand Up @@ -864,6 +855,5 @@ Object {
},
],
"link_names": true,
"text": "New Releases: 1.0.0 :tada:",
}
`;
1 change: 0 additions & 1 deletion plugins/slack/src/index.ts
Expand Up @@ -446,7 +446,6 @@ export default class SlackPlugin implements IPlugin {
body: JSON.stringify({
...userPostMessageOptions,
link_names: true,
text: `${header} :tada:`,
// If not in app auth only one message is constructed
blocks: messages[0],
}),
Expand Down

0 comments on commit 5d33773

Please sign in to comment.