mirror of
https://github.com/woocommerce/woocommerce-paypal-payments.git
synced 2025-09-06 18:16:38 +08:00
♻️ Apply new code style to “common” store
This commit is contained in:
parent
8f12e978f3
commit
7ae4184d30
9 changed files with 130 additions and 109 deletions
|
@ -5,7 +5,7 @@
|
|||
*
|
||||
* @type {string}
|
||||
*/
|
||||
export const STORE_KEY = 'common';
|
||||
export const STORE_NAME = 'wc/paypal/common';
|
||||
|
||||
/**
|
||||
* REST path to hydrate data of this module by loading data from the WP DB..
|
||||
|
@ -14,7 +14,7 @@ export const STORE_KEY = 'common';
|
|||
*
|
||||
* @type {string}
|
||||
*/
|
||||
export const REST_HYDRATE_PATH = 'common';
|
||||
export const REST_HYDRATE_PATH = '/wc/v3/wc_paypal/common';
|
||||
|
||||
/**
|
||||
* REST path to persist data of this module to the WP DB.
|
||||
|
@ -23,4 +23,4 @@ export const REST_HYDRATE_PATH = 'common';
|
|||
*
|
||||
* @type {string}
|
||||
*/
|
||||
export const REST_PERSIST_PATH = 'common';
|
||||
export const REST_PERSIST_PATH = '/wc/v3/wc_paypal/common';
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue