Browse Source

Some fixes for automations, removing password obsfucation in create user step as not useful and making update row work with correct row ID.

pull/1371/head
mike12345567 5 years ago
parent
commit
08ce2b0557
  1. 1
      packages/server/src/automations/steps/createUser.js
  2. 2
      packages/server/src/automations/steps/updateRow.js

1
packages/server/src/automations/steps/createUser.js

@ -23,7 +23,6 @@ module.exports.definition = {
}, },
password: { password: {
type: "string", type: "string",
customType: "password",
title: "Password", title: "Password",
}, },
roleId: { roleId: {

2
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 // have to clean up the row, remove the table from it
const ctx = { const ctx = {
params: { params: {
id: inputs.rowId, rowId: inputs.rowId,
}, },
request: { request: {
body: inputs.row, body: inputs.row,

Loading…
Cancel
Save