Skip to content
This repository has been archived by the owner on May 10, 2024. It is now read-only.

Commit

Permalink
Fix #8092: Use correct histogram name for NTP-SI P3A total count answ…
Browse files Browse the repository at this point in the history
…er (#8094)
  • Loading branch information
kylehickinson authored and iccub committed Sep 20, 2023
1 parent 6187920 commit 24b1b11
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -149,8 +149,8 @@ final class NewTabPageP3AHelper {
updateEventsCountStorage(countsStorage)

let creativeTotalHistogramName = DynamicHistogramName(
creativeInstanceId: "count",
eventType: .init(rawValue: "total")
creativeInstanceId: "total",
eventType: .init(rawValue: "count")
).histogramName
// Always send the creative total if ads are disabled (as per spec),
// or send the total if there were outstanding events sent
Expand Down

0 comments on commit 24b1b11

Please sign in to comment.