Skip to content

Commit

Permalink
Fix an action typo in the docs (#1475)
Browse files Browse the repository at this point in the history
  • Loading branch information
BenAlderfer authored Jun 3, 2022
1 parent 41f0255 commit a5ad6f4
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion docs/_basic/ja_responding_actions.md
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ app.action('approve_button', async ({ ack, say }) => {

```javascript
// "user_select" の action_id がトリガーされたアクションをリッスン
app.action('user_choice', async ({ action, ack, respond }) => {
app.action('user_select', async ({ action, ack, respond }) => {
await ack();
await respond(`You selected <@${action.selected_user}>`);
});
Expand Down
2 changes: 1 addition & 1 deletion docs/_basic/responding_actions.md
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ Since `respond()` is a utility for calling the `response_url`, it behaves in the

```javascript
// Listens to actions triggered with action_id of “user_select”
app.action('user_choice', async ({ action, ack, respond }) => {
app.action('user_select', async ({ action, ack, respond }) => {
await ack();
await respond(`You selected <@${action.selected_user}>`);
});
Expand Down

0 comments on commit a5ad6f4

Please sign in to comment.