Merge: * control: 🚑 Corrects typo in parental control API error message

Close #781

* commit '517ebc0251d6bfe43b7b4d31c7c4e7e91ea928fa':
  🚑 Corrects typo in parental control API error message
This commit is contained in:
Simon Zolin 2019-05-28 11:42:12 +03:00
commit 386886cec2
1 changed files with 1 additions and 1 deletions

View File

@ -835,7 +835,7 @@ func handleParentalEnable(w http.ResponseWriter, r *http.Request) {
sensitivity, ok := parameters["sensitivity"] sensitivity, ok := parameters["sensitivity"]
if !ok { if !ok {
http.Error(w, "URL parameter was not specified", 400) http.Error(w, "Sensitivity parameter was not specified", 400)
return return
} }