mirror of
https://github.com/grafana/grafana.git
synced 2025-02-25 18:55:37 -06:00
Snapshots: Do not return internal database ids (#77672)
This commit is contained in:
@@ -29,11 +29,11 @@ type DashboardSnapshot struct {
|
||||
|
||||
// DashboardSnapshotDTO without dashboard map
|
||||
type DashboardSnapshotDTO struct {
|
||||
ID int64 `json:"id" xorm:"id"`
|
||||
ID int64 `json:"-" xorm:"id"`
|
||||
Name string `json:"name"`
|
||||
Key string `json:"key"`
|
||||
OrgID int64 `json:"orgId" xorm:"org_id"`
|
||||
UserID int64 `json:"userId" xorm:"user_id"`
|
||||
OrgID int64 `json:"-" xorm:"org_id"`
|
||||
UserID int64 `json:"-" xorm:"user_id"`
|
||||
External bool `json:"external"`
|
||||
ExternalURL string `json:"externalUrl" xorm:"external_url"`
|
||||
|
||||
|
||||
Reference in New Issue
Block a user