refactor: Pass app data within the constructor of an app

This commit is contained in:
Faruk AYDIN
2022-02-27 18:22:17 +03:00
committed by Ali BARIN
parent 003213d223
commit c864a1062d
24 changed files with 216 additions and 174 deletions

View File

@@ -7,8 +7,8 @@ export default class Twitter {
triggers: any;
actions: any;
constructor(connectionData: any, parameters: any) {
this.authenticationClient = new Authentication(connectionData);
constructor(appData: any, connectionData: any, parameters: any) {
this.authenticationClient = new Authentication(appData, connectionData);
this.triggers = new Triggers(connectionData);
this.actions = new Actions(connectionData, parameters);
}