Skip to content

Commit

Permalink
Update acknowledging_requests.md
Browse files Browse the repository at this point in the history
  • Loading branch information
technically-tracy authored Apr 4, 2024
1 parent e5728c0 commit c17ead2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion docs/_basic/acknowledging_requests.md
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ We recommend calling `ack()` right away before sending a new message or fetching

```javascript
// Regex to determine if this is a valid email
let isEmail = /^[\w-\.]+@([\w-]+\.)+[\w-]{2,4}$/
let isEmail = /^[\w\-\.]+@([\w-]+\.)+[\w-]{.*}$/
// This uses a constraint object to listen for modal submissions with a callback_id of ticket_submit
app.view('ticket_submit', async ({ ack, view }) => {
// get the email value from the input block with `email_address` as the block_id
Expand Down

0 comments on commit c17ead2

Please sign in to comment.