mirror of
https://github.com/Abdulazizzn/n8n-enterprise-unlocked.git
synced 2025-12-17 10:02:05 +00:00
refactor: Remove unnecessary console.log in nodes (no-changelog) (#11915)
This commit is contained in:
committed by
GitHub
parent
683ee42d3b
commit
ddda0bde0b
@@ -31,7 +31,6 @@ export async function webflowApiRequest(
|
||||
|
||||
// Keep support for v1 node
|
||||
if (this.getNode().typeVersion === 1) {
|
||||
console.log('v1');
|
||||
const authenticationMethod = this.getNodeParameter('authentication', 0, 'accessToken');
|
||||
if (authenticationMethod === 'accessToken') {
|
||||
credentialsType = 'webflowApi';
|
||||
@@ -81,8 +80,6 @@ export async function getSites(this: ILoadOptionsFunctions): Promise<INodeProper
|
||||
const returnData: INodePropertyOptions[] = [];
|
||||
const response = await webflowApiRequest.call(this, 'GET', '/sites');
|
||||
|
||||
console.log(response);
|
||||
|
||||
const sites = response.body?.sites || response;
|
||||
|
||||
for (const site of sites) {
|
||||
|
||||
Reference in New Issue
Block a user