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:
@@ -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,
|
||||
|
||||
Reference in New Issue
Block a user