fix: Adjust response types for twitter auth and endpoints
This commit is contained in:
@@ -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;
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user