mirror of
https://github.com/Abdulazizzn/n8n-enterprise-unlocked.git
synced 2025-12-16 17:46:45 +00:00
⚡ Remove old external request code from Chargebee-Node
This commit is contained in:
@@ -7,7 +7,6 @@ import {
|
||||
NodeParameterValue,
|
||||
} from 'n8n-workflow';
|
||||
|
||||
import * as requestPromise from 'request-promise-native';
|
||||
|
||||
interface CustomProperty {
|
||||
name: string;
|
||||
@@ -614,7 +613,7 @@ export class Chargebee implements INodeType {
|
||||
json: true
|
||||
};
|
||||
|
||||
const responseData = await requestPromise(options);
|
||||
const responseData = await this.helpers.request!(options);
|
||||
|
||||
if (resource === 'invoice' && operation === 'list') {
|
||||
responseData.list.forEach((data: IDataObject) => {
|
||||
|
||||
Reference in New Issue
Block a user