We recently announced deprecation of JS v1 SDK and this repo. Starting September 2020 Microsoft will not provide support for this library. Existing applications using library will continue to work as-is. We strongly recommend upgrading to @azure/cosmos library.
Callback has (error, results, headers) as arguments. Currently headers['x-ms-request-charge'] is always zero. This PR fixes two places so that headers['x-ms-request-charge'] becomes populated with actual value.
Callback has (error, results, headers) as arguments. Currently headers['x-ms-request-charge'] is always zero. This PR fixes two places so that headers['x-ms-request-charge'] becomes populated with actual value.