refactor: Remove unnecessary console.log in nodes (no-changelog) (#11915)

This commit is contained in:
कारतोफ्फेलस्क्रिप्ट™
2024-11-27 15:53:07 +01:00
committed by GitHub
parent 683ee42d3b
commit ddda0bde0b
7 changed files with 15 additions and 21 deletions

View File

@@ -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) {