refactor: Pass connection, flow and step as params to apps

This commit is contained in:
Faruk AYDIN
2022-08-21 20:25:04 +03:00
parent cd6c5216ff
commit 44e3de8534
18 changed files with 60 additions and 85 deletions

View File

@@ -17,7 +17,7 @@ export default class UserTweet {
async getTweets() {
const userResponse = await this.client.getUserByUsername.run(
this.client.parameters.username as string
this.client.step.parameters.username as string
);
const userId = userResponse.data.data.id;