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