|
@@ -80,7 +80,7 @@ func (c *Client) GetDashboard(URI string) (db *Dashboard, err error) {
|
80
|
80
|
func (c *Client) CreateOrUpdateDashboard(slug string, contentJSON []byte) (err error) {
|
81
|
81
|
reqBody := dbUpdateRequest{
|
82
|
82
|
Dashboard: rawJSON(contentJSON),
|
83
|
|
- Overwrite: false,
|
|
83
|
+ Overwrite: true,
|
84
|
84
|
}
|
85
|
85
|
|
86
|
86
|
reqBodyJSON, err := json.Marshal(reqBody)
|