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:
Sofia Papagiannaki
2023-01-24 10:20:28 +02:00
committed by GitHub
parent 3b73b16245
commit e5e8bb4dea
5 changed files with 72 additions and 87 deletions

View File

@ -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