async-postgres icon indicating copy to clipboard operation
async-postgres copied to clipboard

Results 13 async-postgres issues
Sort by recently updated
recently updated
newest added

lib/cart.js: Missing custom header; Therefore, I cannot get X-Forwarded-For (real IP) when creating an order module.create = function (customerToken, customerId = null) { if (customerId) { return restClient.post('/customers/' + customerId...

This is necessary if you add a large number of products to the cart.

Does not return proper error message, if record not found then "Request failed with status code 404" if there have any parameter missing then also "Request failed with status code...

```js magento2.addMethods('products', function (restClient) { var module = {}; module.get = function (sku) { return restClient.get('/products/'+sku); } return module; } ) ```

Possible to do this with graphql. Ok not strictly rest api? But wonder if it is of use? https://magentorooturl/graphql ```graphql { category(id: 2) { products { total_count page_info { current_page...

In rest_client.js we have line like: ``` var errorMessage = 'HTTP ERROR ' + response.code; ``` This `response.code` always equals undefined. I think it should be `response.statusCode`

Sometimes, custom Magento endpoints respond with 202/200 code based on that if we just added new record or it exists. If we would have response.code in response, we could figure...

Auth/details. https://devdocs.magento.com/guides/v2.3/get-started/authentication/gs-authentication-token.html

oauth-1.0a v2 has breaking changes. It would be nice to refactor accordingly and upgrade to the latest version.

I forked this repo and converted it to TypeScript. I have mocked out most of the data models for the currently supported API calls, and I've enhanced a few of...