From 3e53193e50bafb97eb06877ceb18c6ae6945df98 Mon Sep 17 00:00:00 2001 From: Martin Alleus Date: Fri, 15 Nov 2024 16:02:08 +0100 Subject: [PATCH] Sending problem ACK only once --- SwedbankPaySDK/Classes/SwedbankPayPaymentSession.swift | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/SwedbankPaySDK/Classes/SwedbankPayPaymentSession.swift b/SwedbankPaySDK/Classes/SwedbankPayPaymentSession.swift index 64a5c8d..0e45603 100644 --- a/SwedbankPaySDK/Classes/SwedbankPayPaymentSession.swift +++ b/SwedbankPaySDK/Classes/SwedbankPayPaymentSession.swift @@ -438,10 +438,9 @@ public extension SwedbankPaySDK { "problemStatus": String(modelProblem.status ?? 0), "problemDetail": modelProblem.detail ?? ""])) } - } - - makeRequest(router: .acknowledgeFailedAttempt, operation: problemOperation) + makeRequest(router: .acknowledgeFailedAttempt, operation: problemOperation) + } } let operations = paymentOutputModel.prioritisedOperations