fix feature flag parsing
This commit is contained in:
@@ -5,12 +5,12 @@ export const FEATURE_FLAGS = {
|
|||||||
|
|
||||||
// enables old orders endpoint, disabled by default since the response is too big now
|
// enables old orders endpoint, disabled by default since the response is too big now
|
||||||
ENABLE_ORDERS_ENDPOINTS: process.env.ENABLE_ORDERS_ENDPOINTS
|
ENABLE_ORDERS_ENDPOINTS: process.env.ENABLE_ORDERS_ENDPOINTS
|
||||||
? process.env.ENABLE_ORDERS_ENDPOINTS.toLowerCase()
|
? process.env.ENABLE_ORDERS_ENDPOINTS.toLowerCase() === 'true'
|
||||||
: false,
|
: false,
|
||||||
|
|
||||||
// disables periodically refreshing userAccounts via gPA
|
// disables periodically refreshing userAccounts via gPA
|
||||||
DISABLE_GPA_REFRESH: process.env.DISABLE_GPA_REFRESH
|
DISABLE_GPA_REFRESH: process.env.DISABLE_GPA_REFRESH
|
||||||
? process.env.DISABLE_GPA_REFRESH.toLowerCase()
|
? process.env.DISABLE_GPA_REFRESH.toLowerCase() === 'true'
|
||||||
: false,
|
: false,
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user