We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents f71e161 + d32e4ca commit 965a12cCopy full SHA for 965a12c
internal/mock_api/endpoints/polls/polls.go
@@ -157,7 +157,7 @@ func postPolls(w http.ResponseWriter, r *http.Request) {
157
}
158
159
if body.Duration < 15 || body.Duration > 1800 {
160
- mock_errors.WriteBadRequest(w, "duation must be at least 15 and at most 1800")
+ mock_errors.WriteBadRequest(w, "duration must be at least 15 and at most 1800")
161
return
162
163
poll := database.Poll{
0 commit comments