API: Enrich endpoints with ID (#26691)

This commit is contained in:
Agnès Toulet
2020-07-31 08:22:09 +02:00
committed by GitHub
parent 5cc65df32b
commit 8dc75f79f7
6 changed files with 22 additions and 5 deletions

View File

@ -210,6 +210,7 @@ func deleteDashboard(c *models.ReqContext) Response {
return JSON(200, util.DynMap{
"title": dash.Title,
"message": fmt.Sprintf("Dashboard %s deleted", dash.Title),
"id": dash.Id,
})
}