diff options
author | Neil Alexander <neilalexander@users.noreply.github.com> | 2022-09-05 17:37:17 +0100 |
---|---|---|
committer | Neil Alexander <neilalexander@users.noreply.github.com> | 2022-09-05 17:37:17 +0100 |
commit | fd7661f69cfecb426f0170a27a4e414b178a1cdf (patch) | |
tree | 9fb34e2cc48ab8f1a0e68eaae5e43c6ae70e485c /internal | |
parent | 5992b4c7ed2779e12c8b9da7bc96b2b6398cf04c (diff) |
Tweak Sentry again
Diffstat (limited to 'internal')
-rw-r--r-- | internal/httputil/httpapi.go | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/internal/httputil/httpapi.go b/internal/httputil/httpapi.go index 5612d78c..36dcaf45 100644 --- a/internal/httputil/httpapi.go +++ b/internal/httputil/httpapi.go @@ -61,8 +61,7 @@ func MakeAuthAPI( hub := sentry.GetHubFromContext(req.Context()) if hub != nil { hub.Scope().SetUser(sentry.User{ - Username: device.UserID, - IPAddress: req.RemoteAddr, + Username: device.UserID, }) hub.Scope().SetTag("user_id", device.UserID) hub.Scope().SetTag("device_id", device.ID) |