fix: update X-CHANNEL-API-CODE header value
This commit is contained in:
@@ -107,7 +107,7 @@ export default abstract class BaseRestClient {
|
|||||||
/** inject custom rquest options based on axios specs - see axios docs for more guidance on AxiosRequestConfig: https://github.com/axios/axios#request-config */
|
/** inject custom rquest options based on axios specs - see axios docs for more guidance on AxiosRequestConfig: https://github.com/axios/axios#request-config */
|
||||||
...networkOptions,
|
...networkOptions,
|
||||||
headers: {
|
headers: {
|
||||||
'X-CHANNEL-API-CODE': 'hbnni',
|
'X-CHANNEL-API-CODE': 'elga',
|
||||||
'Content-Type': 'application/json',
|
'Content-Type': 'application/json',
|
||||||
locale: 'en-US',
|
locale: 'en-US',
|
||||||
...(restOptions.demoTrading ? { paptrading: '1' } : {}),
|
...(restOptions.demoTrading ? { paptrading: '1' } : {}),
|
||||||
|
|||||||
Reference in New Issue
Block a user