mirror of
https://github.com/coder/coder.git
synced 2025-07-13 21:36:50 +00:00
fix(coderd): remove nil ptr deref in watchWorkspace (#10859)
Fixes #10849
This commit is contained in:
committed by
GitHub
parent
411ce46442
commit
e73901cf56
@ -1219,7 +1219,6 @@ func (api *API) watchWorkspace(rw http.ResponseWriter, r *http.Request) {
|
||||
Type: codersdk.ServerSentEventTypeError,
|
||||
Data: codersdk.Response{
|
||||
Message: "Forbidden reading template of selected workspace.",
|
||||
Detail: err.Error(),
|
||||
},
|
||||
})
|
||||
return
|
||||
|
Reference in New Issue
Block a user