summaryrefslogtreecommitdiff
path: root/internal/api/client/accounts/accountcreate.go
diff options
context:
space:
mode:
Diffstat (limited to 'internal/api/client/accounts/accountcreate.go')
-rw-r--r--internal/api/client/accounts/accountcreate.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/internal/api/client/accounts/accountcreate.go b/internal/api/client/accounts/accountcreate.go
index 473000f6d..061c66b57 100644
--- a/internal/api/client/accounts/accountcreate.go
+++ b/internal/api/client/accounts/accountcreate.go
@@ -107,7 +107,7 @@ func (m *Module) AccountCreatePOSTHandler(c *gin.Context) {
return
}
- c.JSON(http.StatusOK, ti)
+ apiutil.JSON(c, http.StatusOK, ti)
}
// validateNormalizeCreateAccount checks through all the necessary prerequisites for creating a new account,