Skip to content
This repository was archived by the owner on Feb 4, 2025. It is now read-only.

Commit 118cd32

Browse files
committed
Pass force as by default it goes to trash which is not supported
1 parent 3c1a3a9 commit 118cd32

File tree

1 file changed

+1
-0
lines changed
  • plugins/woocommerce/src/main/kotlin/org/wordpress/android/fluxc/network/rest/wpcom/wc/customer

1 file changed

+1
-0
lines changed

plugins/woocommerce/src/main/kotlin/org/wordpress/android/fluxc/network/rest/wpcom/wc/customer/CustomerRestClient.kt

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -148,6 +148,7 @@ class CustomerRestClient @Inject constructor(private val wooNetwork: WooNetwork)
148148
val response = wooNetwork.executeDeleteGsonRequest(
149149
site = site,
150150
path = url,
151+
params = mapOf("force" to true.toString()),
151152
clazz = CustomerDTO::class.java
152153
)
153154

0 commit comments

Comments
 (0)