summaryrefslogtreecommitdiff
path: root/internal/api/client/preferences/preferencesget.go
diff options
context:
space:
mode:
Diffstat (limited to 'internal/api/client/preferences/preferencesget.go')
-rw-r--r--internal/api/client/preferences/preferencesget.go3
1 files changed, 2 insertions, 1 deletions
diff --git a/internal/api/client/preferences/preferencesget.go b/internal/api/client/preferences/preferencesget.go
index 2834134de..4a6cb4b55 100644
--- a/internal/api/client/preferences/preferencesget.go
+++ b/internal/api/client/preferences/preferencesget.go
@@ -87,5 +87,6 @@ func (m *Module) PreferencesGETHandler(c *gin.Context) {
apiutil.ErrorHandler(c, errWithCode, m.processor.InstanceGetV1)
return
}
- c.JSON(http.StatusOK, resp)
+
+ apiutil.JSON(c, http.StatusOK, resp)
}