@warleon/n8n-nodes-payload-cms 1.4.4 → 1.4.5

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.
@@ -538,7 +538,7 @@ class PayloadCms {
538
538
  contentType: mimeType,
539
539
  });
540
540
  if (data) {
541
- typeof data === "string" ? JSON.parse(data) : data;
541
+ data = typeof data === "string" ? JSON.parse(data) : data;
542
542
  }
543
543
  else {
544
544
  data = {};
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@warleon/n8n-nodes-payload-cms",
3
- "version": "1.4.4",
3
+ "version": "1.4.5",
4
4
  "description": "Dynamic n8n node for Payload CMS that auto-discovers collections and operations forked and extended from https://github.com/leadership-institute/n8n-payload-dynamic",
5
5
  "main": "dist/index.js",
6
6
  "author": "warleon",