Skip to content

Commit 66647bd

Browse files
committed
fix missing err check
1 parent 81dd0b9 commit 66647bd

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

coderd/workspaceapps.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -321,7 +321,7 @@ func (api *API) postWorkspaceAppHealths(rw http.ResponseWriter, r *http.Request)
321321
}
322322

323323
for _, app := range newApps {
324-
api.Database.UpdateWorkspaceAppHealthByID(r.Context(), database.UpdateWorkspaceAppHealthByIDParams{
324+
err = api.Database.UpdateWorkspaceAppHealthByID(r.Context(), database.UpdateWorkspaceAppHealthByIDParams{
325325
ID: app.ID,
326326
UpdatedAt: time.Now(),
327327
Health: app.Health,

0 commit comments

Comments
 (0)