@carbonorm/carbonnode 3.6.5 → 3.6.6

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@carbonorm/carbonnode",
3
- "version": "3.6.5",
3
+ "version": "3.6.6",
4
4
  "browser": "dist/index.umd.js",
5
5
  "exports": {
6
6
  ".": {
@@ -402,7 +402,8 @@ export class HttpExecutor<
402
402
  // A part of me exists that wants to remove this, but it's a good feature
403
403
  // this allows developers the ability to cache requests based on primary key
404
404
  // for tables like `photos` this can be a huge performance boost
405
- if (undefined !== query
405
+ if (POST !== requestMethod
406
+ && undefined !== query
406
407
  && null !== query
407
408
  && undefined !== primaryKey
408
409
  && primaryKey in query) {