diff --git a/http/settings.go b/http/settings.go index cf427f44..9256bdb4 100644 --- a/http/settings.go +++ b/http/settings.go @@ -11,7 +11,7 @@ import ( ) type modifySettingsRequest struct { - *modifyRequest + modifyRequest Data struct { CSS string `json:"css"` Commands map[string][]string `json:"commands"` diff --git a/http/users.go b/http/users.go index 97ad7ca2..526bd441 100644 --- a/http/users.go +++ b/http/users.go @@ -18,7 +18,7 @@ type modifyRequest struct { } type modifyUserRequest struct { - *modifyRequest + modifyRequest Data *fm.User `json:"data"` }