Small changes to Facebook Trigger Node

This commit is contained in:
Jan Oberhauser
2020-11-04 12:26:09 +01:00
parent ff9964e10b
commit d80d486e59
4 changed files with 8 additions and 8 deletions

View File

@@ -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;
}