Skip to content

Commit

Permalink
Update MixpanelDestination.swift (#9)
Browse files Browse the repository at this point in the history
Making the enable European endpoint in the destination setting an optional one so customers who have had this destination enabled for a while are able to migrate from iOS to Swift without any issues.
Currently, this causes the plugin to fail as the CDN file does not contain the enableEuropeanUnionEndpoint setting
  • Loading branch information
vanand17 authored Nov 28, 2023
1 parent 8d8d263 commit 4e64d67
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Sources/SegmentMixpanel/MixpanelDestination.swift
Original file line number Diff line number Diff line change
Expand Up @@ -327,7 +327,7 @@ extension MixpanelDestination: VersionedPlugin {

private struct MixpanelSettings: Codable {
let token: String
let enableEuropeanUnionEndpoint: Bool
let enableEuropeanUnionEndpoint: Bool?
let consolidatedPageCalls: Bool
let trackAllPages: Bool
let trackNamedPages: Bool
Expand Down

0 comments on commit 4e64d67

Please sign in to comment.