Skip to content

Commit

Permalink
Merge pull request #58 from rpiambulance/modals
Browse files Browse the repository at this point in the history
Fix copy and paste error
  • Loading branch information
lramos15 authored Oct 8, 2020
2 parents aad3b68 + e64d32d commit aa979dd
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "slack-poll",
"version": "2.3.0",
"version": "2.3.1",
"description": "Databaseless Slack Polling",
"main": "server.js",
"scripts": {
Expand Down
2 changes: 1 addition & 1 deletion src/Actions.ts
Original file line number Diff line number Diff line change
Expand Up @@ -120,7 +120,7 @@ export class Actions {
}

// If the user just did /inorout we enter modal mode
const iniateModal = req.body.trim().length == 0;
const iniateModal = req.body.text.trim().length == 0;

try {
if (!iniateModal) {
Expand Down

0 comments on commit aa979dd

Please sign in to comment.