From 08ce2b05573e0d59352802511be897bb0bf04620 Mon Sep 17 00:00:00 2001 From: mike12345567 Date: Mon, 12 Apr 2021 11:53:37 +0100 Subject: [PATCH] Some fixes for automations, removing password obsfucation in create user step as not useful and making update row work with correct row ID. --- packages/server/src/automations/steps/createUser.js | 1 - packages/server/src/automations/steps/updateRow.js | 2 +- 2 files changed, 1 insertion(+), 2 deletions(-) diff --git a/packages/server/src/automations/steps/createUser.js b/packages/server/src/automations/steps/createUser.js index 8496967105..165b66fa13 100644 --- a/packages/server/src/automations/steps/createUser.js +++ b/packages/server/src/automations/steps/createUser.js @@ -23,7 +23,6 @@ module.exports.definition = { }, password: { type: "string", - customType: "password", title: "Password", }, roleId: { diff --git a/packages/server/src/automations/steps/updateRow.js b/packages/server/src/automations/steps/updateRow.js index 3b83f961f5..2c287526d4 100644 --- a/packages/server/src/automations/steps/updateRow.js +++ b/packages/server/src/automations/steps/updateRow.js @@ -73,7 +73,7 @@ module.exports.run = async function({ inputs, appId, emitter }) { // have to clean up the row, remove the table from it const ctx = { params: { - id: inputs.rowId, + rowId: inputs.rowId, }, request: { body: inputs.row,