Remove the `patterns_ai_data` post from DB when resetting the CYS (#43499)
* Call the `/wc/private/ai/patterns` to remove the `patterns_ai_data` post from the db * Add changefile(s) from automation for the following project(s): woocommerce-beta-tester --------- Co-authored-by: github-actions <github-actions@github.com>
This commit is contained in:
parent
5edea79b41
commit
be1c794387
|
@ -0,0 +1,4 @@
|
|||
Significance: minor
|
||||
Type: update
|
||||
|
||||
Remove the patterns_ai_data post from DB when resetting the CYS.
|
|
@ -227,6 +227,11 @@ export function* resetCustomizeYourStore() {
|
|||
path: API_NAMESPACE + '/tools/reset-cys',
|
||||
method: 'POST',
|
||||
} );
|
||||
|
||||
yield apiFetch( {
|
||||
path: '/wc/private/ai/patterns',
|
||||
method: 'DELETE',
|
||||
} );
|
||||
} );
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue