Skip to content

Commit a2837e5

Browse files
committed
Fix get single user from ID
1 parent 4e3f855 commit a2837e5

File tree

6 files changed

+6
-6
lines changed

6 files changed

+6
-6
lines changed

dist/nodes/Drupal/Drupal.node.js

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

dist/nodes/Drupal/Drupal.node.js.map

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

dist/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "n8n-nodes-drupal",
3-
"version": "0.1.2",
3+
"version": "0.1.3",
44
"description": "Community node for Drupal",
55
"license": "MIT",
66
"homepage": "",

dist/tsconfig.tsbuildinfo

Lines changed: 1 addition & 1 deletion
Large diffs are not rendered by default.

nodes/Drupal/Drupal.node.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -76,7 +76,7 @@ export class Drupal implements INodeType {
7676

7777
if (operation === 'get') {
7878
// Expect an "id" parameter in the resource description
79-
const id = this.getNodeParameter('id', i) as string;
79+
const id = this.getNodeParameter('userId', i) as string;
8080
const path = resourceToItemPath(resource, id);
8181

8282
const res = (await drupalApiRequest.call(this, 'GET', path)) as IDataObject;

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "n8n-nodes-drupal",
3-
"version": "0.1.2",
3+
"version": "0.1.3",
44
"description": "Community node for Drupal",
55
"license": "MIT",
66
"homepage": "",

0 commit comments

Comments
 (0)