Chore: Deprecate FolderIds from FindPersistedDashboardsQuery (#77651)

* Chore: Deprecate FolderIds from FindPersistedDashboardsQuery

* Update pkg/services/dashboards/models.go

Co-authored-by: Arati R. <33031346+suntala@users.noreply.github.com>

---------

Co-authored-by: Arati R. <33031346+suntala@users.noreply.github.com>
This commit is contained in:
Kat Yang
2023-11-09 11:07:10 -05:00
committed by GitHub
co-authored by Arati R.
parent 1c758ab5f2
commit c94410fdee
4 changed files with 12 additions and 10 deletions
@@ -276,7 +276,7 @@ func TestIntegrationDashboardDataAccess(t *testing.T) {
query := dashboards.FindPersistedDashboardsQuery{
OrgId: 1,
FolderIds: []int64{savedFolder.ID},
FolderIds: []int64{savedFolder.ID}, // nolint:staticcheck
SignedInUser: &user.SignedInUser{},
}
@@ -435,7 +435,7 @@ func TestIntegrationDashboardDataAccess(t *testing.T) {
setup()
query := dashboards.FindPersistedDashboardsQuery{
OrgId: 1,
FolderIds: []int64{savedFolder.ID},
FolderIds: []int64{savedFolder.ID}, // nolint:staticcheck
SignedInUser: &user.SignedInUser{
OrgID: 1,
OrgRole: org.RoleEditor,