mirror of
https://github.com/Abdulazizzn/n8n-enterprise-unlocked.git
synced 2025-12-17 18:12:04 +00:00
⚡ Fix function name on Beeminder Node (#1337)
This commit is contained in:
@@ -11,7 +11,7 @@ import {
|
||||
|
||||
import {
|
||||
beeminderApiRequest,
|
||||
beeminderpiRequestAllItems,
|
||||
beeminderApiRequestAllItems,
|
||||
} from './GenericFunctions';
|
||||
|
||||
export async function createDatapoint(this: IExecuteFunctions | IWebhookFunctions | IHookFunctions | ILoadOptionsFunctions, data: IDataObject) {
|
||||
@@ -39,7 +39,7 @@ export async function getAllDatapoints(this: IExecuteFunctions | IHookFunctions
|
||||
return beeminderApiRequest.call(this, 'GET', endpoint, {}, data);
|
||||
}
|
||||
|
||||
return await beeminderpiRequestAllItems.call(this, 'GET', endpoint, {}, data);
|
||||
return await beeminderApiRequestAllItems.call(this, 'GET', endpoint, {}, data);
|
||||
}
|
||||
|
||||
export async function updateDatapoint(this: IExecuteFunctions | IWebhookFunctions | IHookFunctions | ILoadOptionsFunctions, data: IDataObject) {
|
||||
|
||||
@@ -47,7 +47,7 @@ export async function beeminderApiRequest(this: IExecuteFunctions | IWebhookFunc
|
||||
}
|
||||
}
|
||||
|
||||
export async function beeminderpiRequestAllItems(this: IExecuteFunctions | ILoadOptionsFunctions | IHookFunctions, method: string, endpoint: string, body: any = {}, query: IDataObject = {}): Promise<any> { // tslint:disable-line:no-any
|
||||
export async function beeminderApiRequestAllItems(this: IExecuteFunctions | ILoadOptionsFunctions | IHookFunctions, method: string, endpoint: string, body: any = {}, query: IDataObject = {}): Promise<any> { // tslint:disable-line:no-any
|
||||
|
||||
const returnData: IDataObject[] = [];
|
||||
|
||||
|
||||
Reference in New Issue
Block a user