refactor: Pass app data within the constructor of an app
This commit is contained in:
@@ -1,9 +1,9 @@
|
||||
import Authentication from './authentication'
|
||||
import Authentication from './authentication';
|
||||
|
||||
export default class Flickr {
|
||||
authenticationClient: any
|
||||
authenticationClient: any;
|
||||
|
||||
constructor(connectionData: any) {
|
||||
this.authenticationClient = new Authentication(connectionData);
|
||||
constructor(appData: any, connectionData: any) {
|
||||
this.authenticationClient = new Authentication(appData, connectionData);
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user