mirror of
https://github.com/grafana/grafana.git
synced 2025-02-25 18:55:37 -06:00
create annotations work
This commit is contained in:
@@ -75,7 +75,7 @@ func PostAnnotation(c *middleware.Context, cmd dtos.PostAnnotationsCmd) Response
|
||||
}
|
||||
|
||||
item.Id = 0
|
||||
item.Epoch = cmd.EndTime
|
||||
item.Epoch = cmd.TimeEnd
|
||||
|
||||
if err := repo.Save(&item); err != nil {
|
||||
return ApiError(500, "Failed save annotation for region end time", err)
|
||||
|
||||
Reference in New Issue
Block a user