mirror of
https://github.com/grafana/grafana.git
synced 2026-08-11 05:34:53 -05:00
Chore: Use same JSON tag casing everywhere for parent UID (#61935)
Chore: Use same JSON tag casing everywhere for parent UID
This commit is contained in:
+2
-2
@@ -39,7 +39,7 @@ func (hs *HTTPServer) GetFolders(c *models.ReqContext) response.Response {
|
||||
OrgID: c.OrgID,
|
||||
Limit: c.QueryInt64("limit"),
|
||||
Page: c.QueryInt64("page"),
|
||||
UID: c.Query("parent_uid"),
|
||||
UID: c.Query("parentUid"),
|
||||
SignedInUser: c.SignedInUser,
|
||||
})
|
||||
} else {
|
||||
@@ -340,7 +340,7 @@ type GetFoldersParams struct {
|
||||
// The parent folder UID
|
||||
// in:query
|
||||
// required:false
|
||||
ParentUID string `json:"parent_uid"`
|
||||
ParentUID string `json:"parentUid"`
|
||||
}
|
||||
|
||||
// swagger:parameters getFolderByUID
|
||||
|
||||
Reference in New Issue
Block a user