From 304593149242859ba55ffd8eff933fa8c236850d Mon Sep 17 00:00:00 2001 From: Gisle Aune Date: Mon, 26 Jul 2021 21:43:10 +0200 Subject: [PATCH] try fix again again again again. --- services/auth.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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