mirror of
https://github.com/superseriousbusiness/gotosocial
synced 2025-06-05 21:59:39 +02:00
[performance] http response encoding / writing improvements (#2374)
This commit is contained in:
@ -161,7 +161,7 @@ func (m *Module) InstanceUpdatePATCHHandler(c *gin.Context) {
|
||||
return
|
||||
}
|
||||
|
||||
c.JSON(http.StatusOK, i)
|
||||
apiutil.JSON(c, http.StatusOK, i)
|
||||
}
|
||||
|
||||
func validateInstanceUpdate(form *apimodel.InstanceSettingsUpdateRequest) error {
|
||||
|
Reference in New Issue
Block a user