refactor: Restructure create tweet with new global variable
This commit is contained in:
@@ -36,13 +36,6 @@ export default defineAction({
|
||||
text,
|
||||
});
|
||||
|
||||
const tweet: IActionOutput = {
|
||||
data: {
|
||||
raw: response.data,
|
||||
},
|
||||
error: response?.httpError,
|
||||
};
|
||||
|
||||
return tweet;
|
||||
$.actionOutput.data.raw = response.data;
|
||||
},
|
||||
});
|
||||
|
Reference in New Issue
Block a user