File tree Expand file tree Collapse file tree 2 files changed +2
-3
lines changed Expand file tree Collapse file tree 2 files changed +2
-3
lines changed Original file line number Diff line number Diff line change @@ -41,7 +41,6 @@ type DashboardMeta struct {
41
41
Expires time.Time `json:"expires"`
42
42
Created time.Time `json:"created"`
43
43
Updated time.Time `json:"updated"`
44
- CreatedBy string `json:"createdBy"`
45
44
UpdatedBy string `json:"updatedBy"`
46
45
}
47
46
Original file line number Diff line number Diff line change @@ -92,7 +92,7 @@ func NewDashboardFromJson(data map[string]interface{}) *Dashboard {
92
92
func (cmd * SaveDashboardCommand ) GetDashboardModel () * Dashboard {
93
93
dash := NewDashboardFromJson (cmd .Dashboard )
94
94
dash .OrgId = cmd .OrgId
95
- dash .UpdatedBy = cmd .UpdatedBy
95
+ dash .UpdatedBy = cmd .UpdatedBy
96
96
dash .UpdateSlug ()
97
97
return dash
98
98
}
@@ -116,7 +116,7 @@ type SaveDashboardCommand struct {
116
116
Dashboard map [string ]interface {} `json:"dashboard" binding:"Required"`
117
117
Overwrite bool `json:"overwrite"`
118
118
OrgId int64 `json:"-"`
119
- UpdatedBy int64 `json:"-"`
119
+ UpdatedBy int64 `json:"-"`
120
120
121
121
Result * Dashboard
122
122
}
You can’t perform that action at this time.
0 commit comments