summaryrefslogtreecommitdiff
path: root/internal/api/client/admin/ruleget.go
diff options
context:
space:
mode:
Diffstat (limited to 'internal/api/client/admin/ruleget.go')
-rw-r--r--internal/api/client/admin/ruleget.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/internal/api/client/admin/ruleget.go b/internal/api/client/admin/ruleget.go
index 444820a3f..8281092fb 100644
--- a/internal/api/client/admin/ruleget.go
+++ b/internal/api/client/admin/ruleget.go
@@ -98,5 +98,5 @@ func (m *Module) RuleGETHandler(c *gin.Context) {
return
}
- c.JSON(http.StatusOK, rule)
+ apiutil.JSON(c, http.StatusOK, rule)
}