Skip to content

Commit 6964919

Browse files
authored
updating userContext json keys. (#307)
1 parent b9c14b4 commit 6964919

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

pkg/client/optimizely_user_context.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ import (
2626

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

3232
optimizely *OptimizelyClient

0 commit comments

Comments
 (0)