From 8de48fbf30cf825edd8b9b7e061502ce431d8a9e Mon Sep 17 00:00:00 2001 From: Joel Carter Date: Fri, 22 Nov 2024 13:54:51 -0600 Subject: [PATCH] Single location payload response --- Sources/XyoClient/Witness/Location/LocationWitness.swift | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/Sources/XyoClient/Witness/Location/LocationWitness.swift b/Sources/XyoClient/Witness/Location/LocationWitness.swift index 6a66d99..1ac2c5b 100644 --- a/Sources/XyoClient/Witness/Location/LocationWitness.swift +++ b/Sources/XyoClient/Witness/Location/LocationWitness.swift @@ -12,8 +12,9 @@ open class LocationWitness: WitnessModuleAsync { switch result { case .success(let location): let iosLocationPayload = IosLocationPayload(location) - let locationPayload = LocationPayload(location) - completion([iosLocationPayload, locationPayload], nil) + // let locationPayload = LocationPayload(location) + // completion([iosLocationPayload, locationPayload], nil) + completion([iosLocationPayload], nil) case .failure(let error): completion(nil, error) }