Skip to content

Commit 7c2b190

Browse files
fix: small changes for agent (#306)
1 parent 0072115 commit 7c2b190

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

pkg/client/optimizely_user_context.go

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -26,8 +26,8 @@ import (
2626

2727
// OptimizelyUserContext defines user contexts that the SDK will use to make decisions for.
2828
type OptimizelyUserContext struct {
29-
UserID string
30-
Attributes map[string]interface{}
29+
UserID string `json:"userID"`
30+
Attributes map[string]interface{} `json:"attributes"`
3131

3232
optimizely *OptimizelyClient
3333
mutex *sync.RWMutex

0 commit comments

Comments
 (0)