diff --git a/Sources/XXClient/CMix/Functions/CMixTrackServicesWithIdentity.swift b/Sources/XXClient/CMix/Functions/CMixTrackServicesWithIdentity.swift index 088565c0777882c0084d722e7ff92de3712ec8a3..a3393e6e02e8d93c697c21d85ed1997a1e006466 100644 --- a/Sources/XXClient/CMix/Functions/CMixTrackServicesWithIdentity.swift +++ b/Sources/XXClient/CMix/Functions/CMixTrackServicesWithIdentity.swift @@ -5,18 +5,18 @@ public struct CMixTrackServicesWithIdentity { public var run: (Int, TrackServicesCallback) throws -> Void public func callAsFunction( - _ identity: Int, + e2eId: Int, callback: TrackServicesCallback ) throws -> Void { - try run(identity, callback) + try run(e2eId, callback) } } extension CMixTrackServicesWithIdentity { public static func live(_ bindingsCMix: BindingsCmix) -> CMixTrackServicesWithIdentity { - CMixTrackServicesWithIdentity { identity, callback in + CMixTrackServicesWithIdentity { e2eId, callback in try bindingsCMix.trackServices( - withIdentity: identity, + withIdentity: e2eId, cb: callback.makeBindingsHealthCallback() ) }