mirror of
https://github.com/n8n-io/n8n.git
synced 2025-01-11 12:57:29 -08:00
⚡ Return id on SeaTable update
This commit is contained in:
parent
4bce33a530
commit
973c4f86d2
|
@ -301,7 +301,7 @@ export class SeaTable implements INodeType {
|
||||||
body.row_id = rowId;
|
body.row_id = rowId;
|
||||||
responseData = await seaTableApiRequest.call(this, ctx, 'PUT', `/dtable-server/api/v1/dtables/{{dtable_uuid}}/rows/`, body);
|
responseData = await seaTableApiRequest.call(this, ctx, 'PUT', `/dtable-server/api/v1/dtables/{{dtable_uuid}}/rows/`, body);
|
||||||
|
|
||||||
returnData.push(responseData);
|
returnData.push({ _id: rowId, ... responseData });
|
||||||
} catch (error) {
|
} catch (error) {
|
||||||
if (this.continueOnFail()) {
|
if (this.continueOnFail()) {
|
||||||
returnData.push({ error: error.message });
|
returnData.push({ error: error.message });
|
||||||
|
|
Loading…
Reference in a new issue