Skip to content

Commit

Permalink
Merge pull request #3 from segment-integrations/niall/env_check
Browse files Browse the repository at this point in the history
Fix check of setEnvironmentProduction setting
  • Loading branch information
niallzato authored Dec 6, 2024
2 parents eea698f + a40c0b7 commit 4946476
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Sources/SegmentAdjust/AdjustDestination.swift
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,7 @@ open class AdjustDestination: NSObject, DestinationPlugin {
adjustSettings = settings

var environment = ADJEnvironmentSandbox
if let _ = settings.setEnvironmentProduction {
if let isProduction = settings.setEnvironmentProduction, isProduction {
environment = ADJEnvironmentProduction
}

Expand Down

0 comments on commit 4946476

Please sign in to comment.