summaryrefslogtreecommitdiff
path: root/internal/api/client/admin/reportsget.go
diff options
context:
space:
mode:
Diffstat (limited to 'internal/api/client/admin/reportsget.go')
-rw-r--r--internal/api/client/admin/reportsget.go3
1 files changed, 2 insertions, 1 deletions
diff --git a/internal/api/client/admin/reportsget.go b/internal/api/client/admin/reportsget.go
index cffa578f4..394962f6b 100644
--- a/internal/api/client/admin/reportsget.go
+++ b/internal/api/client/admin/reportsget.go
@@ -176,5 +176,6 @@ func (m *Module) ReportsGETHandler(c *gin.Context) {
if resp.LinkHeader != "" {
c.Header("Link", resp.LinkHeader)
}
- c.JSON(http.StatusOK, resp.Items)
+
+ apiutil.JSON(c, http.StatusOK, resp.Items)
}