n8n-nodes-tulip
Version:
n8n nodes for sending data to the Tulip API
14 lines • 556 B
JavaScript
;
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