Other steps.
This commit is contained in:
parent
87e7245aee
commit
0d6474a38a
|
@ -97,7 +97,7 @@ export async function run({
|
|||
const ctx: any = buildCtx(appId, emitter, {
|
||||
body: inputs.row,
|
||||
params: {
|
||||
tableId: inputs.row.tableId,
|
||||
tableId: decodeURIComponent(inputs.row.tableId),
|
||||
},
|
||||
})
|
||||
try {
|
||||
|
|
|
@ -85,7 +85,7 @@ export async function run({
|
|||
_rev: inputs.revision,
|
||||
},
|
||||
params: {
|
||||
tableId: inputs.tableId,
|
||||
tableId: decodeURIComponent(inputs.tableId),
|
||||
},
|
||||
})
|
||||
|
||||
|
|
|
@ -90,6 +90,8 @@ export async function run({
|
|||
}
|
||||
}
|
||||
const tableId = inputs.row.tableId
|
||||
? decodeURIComponent(inputs.row.tableId)
|
||||
: inputs.row.tableId
|
||||
|
||||
// Base update
|
||||
let rowUpdate: Record<string, any>
|
||||
|
@ -157,7 +159,7 @@ export async function run({
|
|||
},
|
||||
params: {
|
||||
rowId: inputs.rowId,
|
||||
tableId,
|
||||
tableId: tableId,
|
||||
},
|
||||
})
|
||||
await rowController.patch(ctx)
|
||||
|
|
Loading…
Reference in New Issue