mirror of
https://github.com/woocommerce/woocommerce-paypal-payments.git
synced 2025-09-05 08:59:14 +08:00
♻️ Refactor resolver and controls
This commit is contained in:
parent
79174459d8
commit
90c6cd1e7d
5 changed files with 42 additions and 57 deletions
|
@ -15,7 +15,7 @@ export const STORE_NAME = 'wc/paypal/onboarding';
|
|||
*
|
||||
* @type {string}
|
||||
*/
|
||||
export const REST_HYDRATE_PATH = 'onboarding';
|
||||
export const REST_HYDRATE_PATH = '/wc/v3/wc_paypal/onboarding';
|
||||
|
||||
/**
|
||||
* REST path to persist data of this module to the WP DB.
|
||||
|
@ -25,7 +25,7 @@ export const REST_HYDRATE_PATH = 'onboarding';
|
|||
*
|
||||
* @type {string}
|
||||
*/
|
||||
export const REST_PERSIST_PATH = 'onboarding';
|
||||
export const REST_PERSIST_PATH = '/wc/v3/wc_paypal/onboarding';
|
||||
|
||||
/**
|
||||
* REST path to perform the manual connection check, using client ID and secret,
|
||||
|
@ -35,4 +35,4 @@ export const REST_PERSIST_PATH = 'onboarding';
|
|||
*
|
||||
* @type {string}
|
||||
*/
|
||||
export const REST_MANUAL_CONNECTION_PATH = 'connect_manual';
|
||||
export const REST_MANUAL_CONNECTION_PATH = '/wc/v3/wc_paypal/connect_manual';
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue