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

This commit is contained in:
mike12345567 2021-04-12 11:53:37 +01:00
parent 185dd1c7a9
commit 08ce2b0557
2 changed files with 1 additions and 2 deletions

View File

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

View File

@ -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,