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

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