From 118cd326a8e65806dd1faef4c9b5ecffaa52d1b1 Mon Sep 17 00:00:00 2001 From: Andrey Date: Tue, 21 Jan 2025 12:11:12 +0100 Subject: [PATCH] Pass force as by default it goes to trash which is not supported --- .../fluxc/network/rest/wpcom/wc/customer/CustomerRestClient.kt | 1 + 1 file changed, 1 insertion(+) diff --git a/plugins/woocommerce/src/main/kotlin/org/wordpress/android/fluxc/network/rest/wpcom/wc/customer/CustomerRestClient.kt b/plugins/woocommerce/src/main/kotlin/org/wordpress/android/fluxc/network/rest/wpcom/wc/customer/CustomerRestClient.kt index 0285b94c31..ae56d26aaa 100644 --- a/plugins/woocommerce/src/main/kotlin/org/wordpress/android/fluxc/network/rest/wpcom/wc/customer/CustomerRestClient.kt +++ b/plugins/woocommerce/src/main/kotlin/org/wordpress/android/fluxc/network/rest/wpcom/wc/customer/CustomerRestClient.kt @@ -148,6 +148,7 @@ class CustomerRestClient @Inject constructor(private val wooNetwork: WooNetwork) val response = wooNetwork.executeDeleteGsonRequest( site = site, path = url, + params = mapOf("force" to true.toString()), clazz = CustomerDTO::class.java )