mirror of
https://github.com/coder/coder.git
synced 2025-07-03 16:13:58 +00:00
fix: remove duplication from language of query param error (#9069)
This commit is contained in:
@ -45,7 +45,7 @@ func (p *QueryParamParser) ErrorExcessParams(values url.Values) {
|
||||
if _, ok := p.Parsed[k]; !ok {
|
||||
p.Errors = append(p.Errors, codersdk.ValidationError{
|
||||
Field: k,
|
||||
Detail: fmt.Sprintf("Query param %q is not a valid query param", k),
|
||||
Detail: fmt.Sprintf("%q is not a valid query param", k),
|
||||
})
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user