Minor improvements to Twitter-Node

This commit is contained in:
Jan Oberhauser 2020-11-03 23:01:59 +01:00
parent 7c049fa858
commit 8eb1890f7f
3 changed files with 25 additions and 21 deletions

View file

@ -12,7 +12,8 @@ import {
import {
IBinaryKeyData,
IDataObject, INodeExecutionData,
IDataObject,
INodeExecutionData,
} from 'n8n-workflow';
export async function twitterApiRequest(this: IExecuteFunctions | IExecuteSingleFunctions | ILoadOptionsFunctions | IHookFunctions, method: string, resource: string, body: any = {}, qs: IDataObject = {}, uri?: string, option: IDataObject = {}): Promise<any> { // tslint:disable-line:no-any

View file

@ -145,6 +145,7 @@ export const tweetFields = [
},
],
},
/* -------------------------------------------------------------------------- */
/* tweet:search */
/* -------------------------------------------------------------------------- */
@ -338,6 +339,7 @@ export const tweetFields = [
},
],
},
/* -------------------------------------------------------------------------- */
/* tweet:like */
/* -------------------------------------------------------------------------- */
@ -385,6 +387,7 @@ export const tweetFields = [
},
],
},
/* -------------------------------------------------------------------------- */
/* tweet:retweet */
/* -------------------------------------------------------------------------- */