fix: Adjust response types for twitter auth and endpoints

This commit is contained in:
Faruk AYDIN
2022-08-30 14:26:56 +03:00
parent 29abf702bd
commit fda957b1f6
5 changed files with 15 additions and 6 deletions

View File

@@ -8,10 +8,10 @@ export default class CreateTweet {
}
async run() {
const response = await this.client.createTweet.run(
const tweet = await this.client.createTweet.run(
this.client.step.parameters.tweet as string
);
return response.data.data;
return tweet;
}
}