Skip to content

Commit a60a3b7

Browse files
committed
gen
1 parent 333d661 commit a60a3b7

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

coderd/workspaceagents.go

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -67,8 +67,7 @@ func (api *API) workspaceAgent(rw http.ResponseWriter, r *http.Request) {
6767

6868
var eg errgroup.Group
6969
eg.Go(func() (err error) {
70-
// nolint:gocritic // This is a system restricted operation.
71-
dbApps, err = api.Database.GetWorkspaceAppsByAgentID(dbauthz.AsSystemRestricted(ctx), workspaceAgent.ID)
70+
dbApps, err = api.Database.GetWorkspaceAppsByAgentID(ctx, workspaceAgent.ID)
7271
return err
7372
})
7473
eg.Go(func() (err error) {

0 commit comments

Comments
 (0)