mirror of
https://github.com/hoernschen/dendrite.git
synced 2024-12-27 07:28:27 +00:00
Tweak Sentry again
This commit is contained in:
parent
5992b4c7ed
commit
fd7661f69c
1 changed files with 1 additions and 2 deletions
|
@ -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)
|
||||
|
|
Loading…
Reference in a new issue