Revert "Nested Folders: Fix fetching a folder by title" (#76469)

Revert "Nested Folders: Fix fetching a folder by title (#74725)"

This reverts commit 0eac9aff7f.
This commit is contained in:
Sofia Papagiannaki
2023-10-12 18:31:49 +03:00
committed by GitHub
parent 29cf60988b
commit bdeb829cf6
4 changed files with 14 additions and 53 deletions

View File

@@ -15,10 +15,7 @@ type Service interface {
// GetFolder takes a GetFolderCommand and returns a folder matching the
// request. One of ID, UID, or Title must be included. If multiple values
// are included in the request, Grafana will select one in order of
// specificity (UID, ID,Title).
// If Title is set, it will fetch the folder in the root folder.
// If nested folders are enabled, callers can additionally set the ParentUID field
// to fetch a folder by title under a specific folder.
// specificity (ID, UID, Title).
Get(ctx context.Context, cmd *GetFolderQuery) (*Folder, error)
// Update is used to update a folder's UID, Title and Description. To change