refactor: Reduce usage of IExecuteSingleFunctions (no-changelog) (#6944)

This commit is contained in:
Iván Ovejero
2023-08-16 15:52:41 +02:00
committed by GitHub
parent 3eb65e08c4
commit f50fc8443e
128 changed files with 158 additions and 409 deletions

View File

@@ -5,7 +5,6 @@ import type {
ICredentialTestFunctions,
IDataObject,
IExecuteFunctions,
IExecuteSingleFunctions,
IHookFunctions,
ILoadOptionsFunctions,
JsonObject,
@@ -15,7 +14,7 @@ import { NodeApiError } from 'n8n-workflow';
import moment from 'moment';
export async function hubspotApiRequest(
this: IHookFunctions | IExecuteFunctions | IExecuteSingleFunctions | ILoadOptionsFunctions,
this: IHookFunctions | IExecuteFunctions | ILoadOptionsFunctions,
method: string,
endpoint: string,