wip: debug

This commit is contained in:
Kevin Franklin Kim 2024-09-26 21:31:26 +02:00
parent adbf3046ef
commit 0bc536f6db
No known key found for this signature in database

View File

@ -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)
}