Skip to content

Commit

Permalink
Settings — webhook check fixed.
Browse files Browse the repository at this point in the history
  • Loading branch information
Nes-si committed Oct 29, 2018
1 parent 60591f7 commit 9b1ae22
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/components/mainArea/settings/Settings.js
Original file line number Diff line number Diff line change
Expand Up @@ -105,7 +105,7 @@ export default class Settings extends Component {
return false;
}

if (!checkURL(this.state.webhook)) {
if (this.state.webhook && !checkURL(this.state.webhook)) {
this.setState({error: ERROR_WEBHOOK_SYNTAX});
return false;
}
Expand Down

0 comments on commit 9b1ae22

Please sign in to comment.