Skip to content

Commit

Permalink
Add missing comma
Browse files Browse the repository at this point in the history
  • Loading branch information
seratch authored Apr 4, 2024
1 parent b3d1aa5 commit a89b756
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\-]+$/
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 a89b756

Please sign in to comment.