mirror of
https://github.com/n8n-io/n8n.git
synced 2024-11-10 14:44:05 -08:00
⚡ Fix function name on Beeminder Node (#1337)
This commit is contained in:
parent
29c9c6d933
commit
4f75788818
|
@ -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[] = [];
|
||||
|
||||
|
|
Loading…
Reference in a new issue