From ab643cd0c473f73a1972601a2e7d0f0df4605328 Mon Sep 17 00:00:00 2001 From: Henrique Dias Date: Sun, 18 Feb 2018 12:26:07 +0000 Subject: [PATCH] fix: not being able to change settings (#359) Former-commit-id: 6230e0e979ca561a778be5f1aa245e85adb808e9 [formerly a14bfa497f716aa95a6b24d04e09361f06ff0b31] [formerly 008421161a7563ce29631cd103eef34597dd211a [formerly 7e962180b26ea6bdf7fce95b99593000b9ff07a0]] Former-commit-id: 3ac8515e4d0d2fff862af27ef14b23a8a66226a6 [formerly 83798c187f0df689f85f4118140661f04c051d60] Former-commit-id: 1edf72e1db7824b1a64fbd97889835d20d9af500 --- http/settings.go | 2 +- http/users.go | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) 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"` }