K8s: Folders: Reduce db calls with /api/folders (#103058)
This commit is contained in:
@@ -84,6 +84,7 @@ func (hs *HTTPServer) GetFolders(c *contextmodel.ReqContext) response.Response {
|
||||
UID: c.Query("parentUid"),
|
||||
Permission: permission,
|
||||
SignedInUser: c.SignedInUser,
|
||||
RefOnly: true, // nolint:staticcheck
|
||||
}
|
||||
|
||||
folders, err := hs.folderService.GetChildren(c.Req.Context(), q)
|
||||
|
||||
Reference in New Issue
Block a user