summaryrefslogtreecommitdiff
path: root/internal/api/client/reports/reportcreate.go
diff options
context:
space:
mode:
Diffstat (limited to 'internal/api/client/reports/reportcreate.go')
-rw-r--r--internal/api/client/reports/reportcreate.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/internal/api/client/reports/reportcreate.go b/internal/api/client/reports/reportcreate.go
index a4fa01148..a34b8d52e 100644
--- a/internal/api/client/reports/reportcreate.go
+++ b/internal/api/client/reports/reportcreate.go
@@ -107,5 +107,5 @@ func (m *Module) ReportPOSTHandler(c *gin.Context) {
return
}
- c.JSON(http.StatusOK, apiReport)
+ apiutil.JSON(c, http.StatusOK, apiReport)
}