mirror of
https://github.com/Abdulazizzn/n8n-enterprise-unlocked.git
synced 2025-12-18 02:21:13 +00:00
⚡ Add more parameters to company resource (Mautic) (#2087)
* Add Json params on company * Revert and add only JSON params on Company * Fix Company search field * ⚡ Improvements to #1957 * ⚡ Improvements Co-authored-by: Dokime <jnau5@yahoo.com>
This commit is contained in:
@@ -13,13 +13,6 @@ import {
|
||||
IDataObject, NodeApiError,
|
||||
} from 'n8n-workflow';
|
||||
|
||||
interface OMauticErrorResponse {
|
||||
errors: Array<{
|
||||
conde: number;
|
||||
message: string;
|
||||
}>;
|
||||
}
|
||||
|
||||
export async function mauticApiRequest(this: IHookFunctions | IExecuteFunctions | IExecuteSingleFunctions | ILoadOptionsFunctions, method: string, endpoint: string, body: any = {}, query?: IDataObject, uri?: string): Promise<any> { // tslint:disable-line:no-any
|
||||
const authenticationMethod = this.getNodeParameter('authentication', 0, 'credentials') as string;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user