fix argument ordering (#48124)

This commit is contained in:
Ieva 2022-04-25 15:26:46 +02:00 committed by GitHub
parent b30d9f2732
commit ea25f7e1ca
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

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