Chore: Replace util.DynMap with structs (#36332)

* Chore: Replace util.DynMap

* Chore: added comments
This commit is contained in:
Hugo Häggmark
2021-07-01 10:23:33 +02:00
committed by GitHub
parent 4434eeaf59
commit 44c48ecebb
5 changed files with 38 additions and 10 deletions

View File

@ -302,5 +302,5 @@ func GetAnnotationTags(c *models.ReqContext) response.Response {
return response.Error(500, "Failed to find annotation tags", err)
}
return response.JSON(200, util.DynMap{"result": result})
return response.JSON(200, annotations.GetAnnotationTagsResponse{Result: result})
}