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
+6 -8
View File
@@ -125,15 +125,13 @@ type DeleteFolderCommand struct {
// GetFolderQuery is used for all folder Get requests. Only one of UID, ID, or
// Title should be set; if multiple fields are set by the caller the dashboard
// service will select the field with the most specificity, in order: UID, ID
// Title. If Title is set, it will fetch the folder in the root folder.
// Callers can additionally set the ParentUID field to fetch a folder by title under a specific folder.
// service will select the field with the most specificity, in order: ID, UID,
// Title.
type GetFolderQuery struct {
UID *string
ParentUID *string
ID *int64
Title *string
OrgID int64
UID *string
ID *int64
Title *string
OrgID int64
SignedInUser identity.Requester `json:"-"`
}