diff options
author | Neil Alexander <neilalexander@users.noreply.github.com> | 2021-03-03 14:35:57 +0000 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-03-03 14:35:57 +0000 |
commit | d15836e260130f85edd5d9a104e5304f001d2681 (patch) | |
tree | a426e886cc66b3d676741010860cb794a6999b87 /clientapi/routing/profile.go | |
parent | f0139f12ca6f93b7626be369dc2a829c0326c6e0 (diff) |
Increase gocyclo complexity to 25 (and remove all but 2 golint directives related to it) (#1783)
Diffstat (limited to 'clientapi/routing/profile.go')
-rw-r--r-- | clientapi/routing/profile.go | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/clientapi/routing/profile.go b/clientapi/routing/profile.go index 0d47c91e..7bea35e5 100644 --- a/clientapi/routing/profile.go +++ b/clientapi/routing/profile.go @@ -91,7 +91,6 @@ func GetAvatarURL( } // SetAvatarURL implements PUT /profile/{userID}/avatar_url -// nolint:gocyclo func SetAvatarURL( req *http.Request, accountDB accounts.Database, device *userapi.Device, userID string, cfg *config.ClientAPI, rsAPI api.RoomserverInternalAPI, @@ -209,7 +208,6 @@ func GetDisplayName( } // SetDisplayName implements PUT /profile/{userID}/displayname -// nolint:gocyclo func SetDisplayName( req *http.Request, accountDB accounts.Database, device *userapi.Device, userID string, cfg *config.ClientAPI, rsAPI api.RoomserverInternalAPI, |