Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit e73901c

Browse files
authored
fix(coderd): remove nil ptr deref in watchWorkspace (coder#10859)
Fixes coder#10849
1 parent 411ce46 commit e73901c

File tree

1 file changed

+0
-1
lines changed

1 file changed

+0
-1
lines changed

coderd/workspaces.go

-1
Original file line numberDiff line numberDiff line change
@@ -1219,7 +1219,6 @@ func (api *API) watchWorkspace(rw http.ResponseWriter, r *http.Request) {
12191219
Type: codersdk.ServerSentEventTypeError,
12201220
Data: codersdk.Response{
12211221
Message: "Forbidden reading template of selected workspace.",
1222-
Detail: err.Error(),
12231222
},
12241223
})
12251224
return

0 commit comments

Comments
 (0)