Skip to content

Commit

Permalink
Merge pull request #23 from LacazeThomas/develop
Browse files Browse the repository at this point in the history
fix wrong contentType
  • Loading branch information
LacazeThomas authored Feb 9, 2021
2 parents 3e8a959 + c81de15 commit 3f2aa3c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion handler/summary.go
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@ func HandlerSummary(c *gin.Context) {
}

zap.S().Debugf("Receive images %+v", result)
c.Data(http.StatusOK, "text/plain", result)
c.Data(http.StatusOK, "image/png", result)
}

var availableStats = func(summary models.Summary) map[string][]models.SummaryItem {
Expand Down

0 comments on commit 3f2aa3c

Please sign in to comment.