mirror of
https://github.com/grafana/grafana.git
synced 2025-08-02 16:23:11 +08: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:

committed by
GitHub

parent
3b73b16245
commit
e5e8bb4dea
@ -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