fix argument ordering (#48124)

pull/47556/head
Ieva 4 years ago committed by GitHub
parent b30d9f2732
commit ea25f7e1ca
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
  1. 2
      pkg/api/folder.go

@ -52,7 +52,7 @@ func (hs *HTTPServer) GetFolderByID(c *models.ReqContext) response.Response {
if err != nil {
return response.Error(http.StatusBadRequest, "id is invalid", err)
}
folder, err := hs.folderService.GetFolderByID(c.Req.Context(), c.SignedInUser, c.OrgId, id)
folder, err := hs.folderService.GetFolderByID(c.Req.Context(), c.SignedInUser, id, c.OrgId)
if err != nil {
return apierrors.ToFolderErrorResponse(err)
}

Loading…
Cancel
Save