mirror of
https://github.com/Abdulazizzn/n8n-enterprise-unlocked.git
synced 2025-12-17 10:02:05 +00:00
⚡ Small changes to Facebook Trigger Node
This commit is contained in:
@@ -19,7 +19,7 @@ export async function facebookApiRequest(this: IHookFunctions | IExecuteFunction
|
||||
let credentials;
|
||||
|
||||
if (this.getNode().name.includes('Trigger')) {
|
||||
credentials = this.getCredentials('facebookGraphSubscriptionApi') as IDataObject;
|
||||
credentials = this.getCredentials('facebookGraphAppApi') as IDataObject;
|
||||
} else {
|
||||
credentials = this.getCredentials('facebookGraphApi') as IDataObject;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user