From 537c0e961f70a773dcf55f9326a58897c90b6e67 Mon Sep 17 00:00:00 2001 From: AdyenAutomationBot <38424300+AdyenAutomationBot@users.noreply.github.com> Date: Thu, 19 Mar 2026 08:00:17 +0000 Subject: [PATCH] [dataprotection] Automated update from Adyen/adyen-openapi@6f2bb26 --- Adyen/services/dataProtection/data_protection_api.py | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/Adyen/services/dataProtection/data_protection_api.py b/Adyen/services/dataProtection/data_protection_api.py index f1218233..83d9487c 100644 --- a/Adyen/services/dataProtection/data_protection_api.py +++ b/Adyen/services/dataProtection/data_protection_api.py @@ -17,8 +17,7 @@ def request_subject_erasure(self, request, idempotency_key=None, **kwargs): """ Submit a Subject Erasure Request. """ - endpoint = self.baseUrl + "/requestSubjectErasure" + endpoint = self.baseUrl + f"/requestSubjectErasure" method = "POST" - return self.client.call_adyen_api( - request, self.service, method, endpoint, idempotency_key, **kwargs - ) + return self.client.call_adyen_api(request, self.service, method, endpoint, idempotency_key, **kwargs) +