fix: Make processor to work with multiple trigger objects

This commit is contained in:
Faruk AYDIN
2022-03-12 14:20:45 +03:00
committed by Ömer Faruk Aydın
parent fec55d698a
commit 3f7a888429
3 changed files with 89 additions and 45 deletions

View File

@@ -20,6 +20,6 @@ export default class MyTweet {
const userTimeline = await this.client.v1.userTimelineByUsername(username);
const fetchedTweets = userTimeline.tweets;
return fetchedTweets[0];
return fetchedTweets;
}
}