fzaninotto / uptime

A remote monitoring application using Node.js, MongoDB, and Twitter Bootstrap.
http://fzaninotto.github.com/uptime/
MIT License
3.62k stars 706 forks source link

isPaused isn't set correctly when using POST /checks/:id #316

Open svramusi opened 9 years ago

svramusi commented 9 years ago

There is an error when setting isPaused via POST /checks/:id

If you're trying to set isPaused to be true, it will work. However, if the existing Check has isPaused to be true, it is impossible to set it to be false.