From 02190e42ae2de336910070e2d722d4b66cf56810 Mon Sep 17 00:00:00 2001 From: Juan Manuel Pereira Date: Mon, 4 Mar 2024 14:38:14 -0300 Subject: [PATCH] DBP: Set correct duration of submit-success pixel (#2308) --- .../Pixels/DataBrokerProtectionStageDurationCalculator.swift | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/LocalPackages/DataBrokerProtection/Sources/DataBrokerProtection/Pixels/DataBrokerProtectionStageDurationCalculator.swift b/LocalPackages/DataBrokerProtection/Sources/DataBrokerProtection/Pixels/DataBrokerProtectionStageDurationCalculator.swift index 7802618261..36c96ba224 100644 --- a/LocalPackages/DataBrokerProtection/Sources/DataBrokerProtection/Pixels/DataBrokerProtectionStageDurationCalculator.swift +++ b/LocalPackages/DataBrokerProtection/Sources/DataBrokerProtection/Pixels/DataBrokerProtectionStageDurationCalculator.swift @@ -128,7 +128,7 @@ final class DataBrokerProtectionStageDurationCalculator: StageDurationCalculator } func fireOptOutSubmitSuccess() { - handler.fire(.optOutSubmitSuccess(dataBroker: dataBroker, attemptId: attemptId, duration: durationSinceLastStage())) + handler.fire(.optOutSubmitSuccess(dataBroker: dataBroker, attemptId: attemptId, duration: durationSinceStartTime())) } func fireOptOutFailure() {