Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix(utils/web): Fix typo in Content-Type header
Reasons: - RFC says it's Content-Type, not Content-type - node-fetch package is checking for the `Content-Type` header in a case sensitive manner and overwrites it when cannot find it https://github.com/node-fetch/node-fetch/blob/master/src/request.js#L71 - because of the node-fetch Content-Type check, the header is sometimes overwritten and near-api-js call is not always recognized as application/json request
- Loading branch information