Skip to content

Commit

Permalink
vuid check remove
Browse files Browse the repository at this point in the history
  • Loading branch information
muzahidul-opti committed Nov 22, 2024
1 parent 974324b commit f455e45
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions Sources/Optimizely+Decide/OptimizelyClient+Decide.swift
Original file line number Diff line number Diff line change
Expand Up @@ -36,10 +36,10 @@ extension OptimizelyClient {
/// - Parameter attributes: A map of attribute names to current user attribute values.
/// - Returns: An OptimizelyUserContext associated with this OptimizelyClient
public func createUserContext(attributes: [String: Any]? = nil) -> OptimizelyUserContext? {
guard enableVuid else {
logger.e("Vuid is not enabled or invalid VUID. User context not created.")
return nil
}
// guard enableVuid else {
// logger.e("Vuid is not enabled or invalid VUID. User context not created.")
// return nil
// }
return OptimizelyUserContext(optimizely: self, userId: vuid, attributes: attributes)
}

Expand Down

0 comments on commit f455e45

Please sign in to comment.