From 0bc536f6dbcfa82af6f5e8b7dbb34149ec6fa39a Mon Sep 17 00:00:00 2001 From: Kevin Franklin Kim Date: Thu, 26 Sep 2024 21:31:26 +0200 Subject: [PATCH] wip: debug --- pkg/provider/cookiebot/client/mpv2middleware.go | 2 ++ 1 file changed, 2 insertions(+) diff --git a/pkg/provider/cookiebot/client/mpv2middleware.go b/pkg/provider/cookiebot/client/mpv2middleware.go index c6d2bc6..1ba8b7c 100644 --- a/pkg/provider/cookiebot/client/mpv2middleware.go +++ b/pkg/provider/cookiebot/client/mpv2middleware.go @@ -6,6 +6,7 @@ import ( "net/http" "net/url" + "github.com/davecgh/go-spew/spew" "github.com/foomo/sesamy-go/pkg/client" "github.com/foomo/sesamy-go/pkg/encoding/mpv2" "github.com/foomo/sesamy-go/pkg/provider/cookiebot" @@ -50,6 +51,7 @@ func MPv2MiddlewarConsent(l *zap.Logger) client.MPv2Middleware { AdUserData: consent(value.Marketing), AdPersonalization: consent(value.Statistics), } + spew.Dump(payload) return next(r, payload) }