Bug: Fix List dashboard version (#50544)

* Fix List dashboard version

* Fix

* Roll back tag for dahboard version id
This commit is contained in:
idafurjes 2022-06-09 21:17:03 +02:00 committed by GitHub
parent 5df694b924
commit be7518c97b
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -45,9 +45,9 @@ type ListDashboardVersionsQuery struct {
} }
type DashboardVersionDTO struct { type DashboardVersionDTO struct {
ID int64 `json:"id"` ID int64 `json:"id" xorm:"id"`
DashboardID int64 `json:"dashboardId"` DashboardID int64 `json:"dashboardId" xorm:"dashboard_id"`
DashboardUID string `json:"dashboardUid"` DashboardUID string `json:"dashboardUid" xorm:"dashboard_uid"`
ParentVersion int `json:"parentVersion"` ParentVersion int `json:"parentVersion"`
RestoredFrom int `json:"restoredFrom"` RestoredFrom int `json:"restoredFrom"`
Version int `json:"version"` Version int `json:"version"`