diff --git a/services/auth.go b/services/auth.go index 4a51cc9..13cac65 100644 --- a/services/auth.go +++ b/services/auth.go @@ -158,7 +158,7 @@ func (s *AuthService) TokenFromContext(ctx context.Context) *models.Token { func (s *AuthService) SpinOffContext(ctx context.Context) context.Context { token := s.TokenFromContext(ctx) - return context.WithValue(context.Background(), contextKey, &token) + return context.WithValue(context.Background(), contextKey, token) } // RequestWithToken either returns the request, or the request with a new context that