mirror of
https://github.com/foomo/sesamy-go.git
synced 2025-10-16 12:35:43 +00:00
wip: debug
This commit is contained in:
parent
adbf3046ef
commit
0bc536f6db
@ -6,6 +6,7 @@ import (
|
|||||||
"net/http"
|
"net/http"
|
||||||
"net/url"
|
"net/url"
|
||||||
|
|
||||||
|
"github.com/davecgh/go-spew/spew"
|
||||||
"github.com/foomo/sesamy-go/pkg/client"
|
"github.com/foomo/sesamy-go/pkg/client"
|
||||||
"github.com/foomo/sesamy-go/pkg/encoding/mpv2"
|
"github.com/foomo/sesamy-go/pkg/encoding/mpv2"
|
||||||
"github.com/foomo/sesamy-go/pkg/provider/cookiebot"
|
"github.com/foomo/sesamy-go/pkg/provider/cookiebot"
|
||||||
@ -50,6 +51,7 @@ func MPv2MiddlewarConsent(l *zap.Logger) client.MPv2Middleware {
|
|||||||
AdUserData: consent(value.Marketing),
|
AdUserData: consent(value.Marketing),
|
||||||
AdPersonalization: consent(value.Statistics),
|
AdPersonalization: consent(value.Statistics),
|
||||||
}
|
}
|
||||||
|
spew.Dump(payload)
|
||||||
|
|
||||||
return next(r, payload)
|
return next(r, payload)
|
||||||
}
|
}
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user