We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 0072115 commit 7c2b190Copy full SHA for 7c2b190
pkg/client/optimizely_user_context.go
@@ -26,8 +26,8 @@ import (
26
27
// OptimizelyUserContext defines user contexts that the SDK will use to make decisions for.
28
type OptimizelyUserContext struct {
29
- UserID string
30
- Attributes map[string]interface{}
+ UserID string `json:"userID"`
+ Attributes map[string]interface{} `json:"attributes"`
31
32
optimizely *OptimizelyClient
33
mutex *sync.RWMutex
0 commit comments