Skip to content

Commit 769ea99

Browse files
committed
PR feedback
1 parent 9389df3 commit 769ea99

File tree

2 files changed

+2
-1
lines changed

2 files changed

+2
-1
lines changed

.vscode/settings.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -83,6 +83,7 @@
8383
"workspaceapp",
8484
"workspaceapps",
8585
"workspacebuilds",
86+
"workspacename",
8687
"wsconncache",
8788
"xerrors",
8889
"xstate",

coderd/workspaces.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -171,7 +171,7 @@ func (api *API) workspaceByOwnerAndName(rw http.ResponseWriter, r *http.Request)
171171
includeDeleted, err = strconv.ParseBool(s)
172172
if err != nil {
173173
httpapi.Write(rw, http.StatusBadRequest, httpapi.Response{
174-
Message: fmt.Sprintf("Invalid boolean value %q for \"include_deleted\" query param.", includeDeletedStr),
174+
Message: fmt.Sprintf("Invalid boolean value %q for \"include_deleted\" query param.", s),
175175
Validations: []httpapi.Error{
176176
{Field: "include_deleted", Detail: "Must be a valid boolean"},
177177
},

0 commit comments

Comments
 (0)