Skip to content

Commit

Permalink
fix(): headers
Browse files Browse the repository at this point in the history
  • Loading branch information
tiagosiebler committed Jun 4, 2024
1 parent 6fdac98 commit 5731d5a
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/lib/BaseRestClient.ts
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@ import axios, { AxiosRequestConfig, AxiosResponse, Method } from 'axios';

import { neverGuard } from './misc-util.js';
import {
CHANNEL_ID,
getRestBaseUrl,
RestClientOptions,
serializeParams,
Expand Down Expand Up @@ -148,7 +149,7 @@ export abstract class BaseRestClient {
...networkOptions,
headers: {
'Content-Type': 'application/json',
// 'X-Gate-Channel-Id': CHANNEL_ID,
'X-Gate-Channel-Id': CHANNEL_ID,
locale: 'en-US',
},
};
Expand Down Expand Up @@ -480,7 +481,6 @@ export abstract class BaseRestClient {
KEY: this.apiKey,
SIGN: signResult.sign,
Timestamp: signResult.timestamp,
// 'X-Client-Request-Id': 'todo'
};

const urlWithQueryParams =
Expand Down

0 comments on commit 5731d5a

Please sign in to comment.