Auth: Pass ctx when updating last seen (#88496)

Signed-off-by: bergquist <carl.bergquist@gmail.com>
This commit is contained in:
Carl Bergquist
2024-05-30 14:25:54 +02:00
committed by GitHub
parent 4b62be37f5
commit 6c79f63c04
2 changed files with 3 additions and 2 deletions
+1 -1
View File
@@ -313,7 +313,7 @@ func shouldUpdateLastSeen(t time.Time) bool {
}
func (s *Service) GetSignedInUser(ctx context.Context, query *user.GetSignedInUserQuery) (*user.SignedInUser, error) {
ctx, span := s.tracer.Start(ctx, "user.GetSignedInUserWithCacheCtx", trace.WithAttributes(
ctx, span := s.tracer.Start(ctx, "user.GetSignedInUser", trace.WithAttributes(
attribute.Int64("userID", query.UserID),
attribute.Int64("orgID", query.OrgID),
))