Skip to content

Commit

Permalink
Single location payload response
Browse files Browse the repository at this point in the history
  • Loading branch information
JoelBCarter committed Nov 22, 2024
1 parent cb52cfe commit 8de48fb
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions Sources/XyoClient/Witness/Location/LocationWitness.swift
Original file line number Diff line number Diff line change
Expand Up @@ -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)
}
Expand Down

0 comments on commit 8de48fb

Please sign in to comment.