fix: resolved comments

This commit is contained in:
mayur.popli
2025-03-28 16:09:31 +05:30
parent c64224032b
commit ead2211960
4 changed files with 20 additions and 19 deletions

View File

@@ -12,8 +12,8 @@ type provider struct{}
func (p provider) New(ctx context.Context, c map[string]string) (func(http.Handler) http.Handler, error) {
config := &requestpreprocessor.Config{}
if checkKeysStr, ok := c["CheckKeys"]; ok {
config.CheckKeys = strings.Split(checkKeysStr, ",")
if contextKeysStr, ok := c["ContextKeys"]; ok {
config.ContextKeys = strings.Split(contextKeysStr, ",")
}
return requestpreprocessor.NewUUIDSetter(config)
}