Closed hichamboushaba closed 1 year ago
When reviewing https://github.com/woocommerce/woocommerce-android/pull/8323, @JorgeMucientes identified an issue where the WPCom API /site-info fails to identify Jetpack sites if the path has some suffixes like wp-admin.
This PR fixes this by stripping known paths before sending the API request.
Code looks good. Thanks for working on this @hichamboushaba! I'll merge asap as soon as I finished e2e from this PR
When reviewing https://github.com/woocommerce/woocommerce-android/pull/8323, @JorgeMucientes identified an issue where the WPCom API /site-info fails to identify Jetpack sites if the path has some suffixes like wp-admin.
This PR fixes this by stripping known paths before sending the API request.