UNPKG

n8n-nodes-tulip

Version:
14 lines 556 B
"use strict"; Object.defineProperty(exports, "__esModule", { value: true }); exports.execute = execute; const transport_1 = require("../../../transport"); async function execute(index) { const tableId = this.getNodeParameter('tableId', index); const body = {}; const qs = {}; const requestMethod = 'GET'; const endpoint = `tables/${tableId}`; const responseData = await transport_1.apiRequest.call(this, requestMethod, endpoint, body, qs); return this.helpers.returnJsonArray(responseData); } //# sourceMappingURL=execute.js.map