Skip to content

Commit 40ec9ac

Browse files
authored
fix: remove unnecessary settings var and update in destinationMetaData (#305)
1 parent 6f60c90 commit 40ec9ac

File tree

1 file changed

+1
-6
lines changed

1 file changed

+1
-6
lines changed

Sources/Segment/Plugins/DestinationMetadataPlugin.swift

Lines changed: 1 addition & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -14,12 +14,7 @@ import Foundation
1414
public class DestinationMetadataPlugin: Plugin {
1515
public let type: PluginType = PluginType.enrichment
1616
public weak var analytics: Analytics?
17-
private var analyticsSettings: Settings? = nil
18-
19-
public func update(settings: Settings, type: UpdateType) {
20-
analyticsSettings = settings
21-
}
22-
17+
2318
public func execute<T: RawEvent>(event: T?) -> T? {
2419
guard var modified = event else {
2520
return event

0 commit comments

Comments
 (0)