fix: Take parameters for twitter actions
This commit is contained in:
@@ -3,7 +3,7 @@ import CreateTweet from './actions/create-tweet';
|
|||||||
export default class Actions {
|
export default class Actions {
|
||||||
createTweet: any
|
createTweet: any
|
||||||
|
|
||||||
constructor(connectionData: any) {
|
constructor(connectionData: any, parameters: any) {
|
||||||
this.createTweet = new CreateTweet(connectionData)
|
this.createTweet = new CreateTweet(connectionData, parameters)
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user