Skip to content

Commit

Permalink
Update Sources/BraintreeCore/Analytics/BTAnalyticsService.swift
Browse files Browse the repository at this point in the history
Co-authored-by: Jax DesMarais-Leder <[email protected]>
  • Loading branch information
scannillo and jaxdesmarais authored Jun 17, 2024
1 parent d6e608c commit 5f53eeb
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion Sources/BraintreeCore/Analytics/BTAnalyticsService.swift
Original file line number Diff line number Diff line change
Expand Up @@ -142,7 +142,6 @@ class BTAnalyticsService: Equatable {
if await !BTAnalyticsService.events.isEmpty {
do {
let configuration = try await apiClient.fetchConfiguration()

let postParameters = await createAnalyticsEvent(config: configuration, sessionID: apiClient.metadata.sessionID, events: BTAnalyticsService.events.allValues)
http?.post("v1/tracking/batch/events", parameters: postParameters) { _, _, _ in }
await BTAnalyticsService.events.removeAll()
Expand Down

0 comments on commit 5f53eeb

Please sign in to comment.