UpdateLastSeen updates LastSeen and UserAgent.
(uid types.Uid, userAgent string, when time.Time)
| 391 | |
| 392 | // UpdateLastSeen updates LastSeen and UserAgent. |
| 393 | func (usersMapper) UpdateLastSeen(uid types.Uid, userAgent string, when time.Time) error { |
| 394 | return adp.UserUpdate(uid, map[string]any{"LastSeen": when, "UserAgent": userAgent}) |
| 395 | } |
| 396 | |
| 397 | // Update is a general-purpose update of user data. |
| 398 | func (usersMapper) Update(uid types.Uid, update map[string]any) error { |
nothing calls this directly
no test coverage detected