refactor: Use setActionItem method to push action data item
This commit is contained in:
@@ -25,7 +25,7 @@ const findMessage = async ($: IGlobalVariable, options: FindMessageOptions) => {
|
||||
throw new Error(JSON.stringify(response.data));
|
||||
}
|
||||
|
||||
$.actionOutput.data.raw = data?.messages.matches[0];
|
||||
$.setActionItem({ raw: data?.messages.matches[0] });
|
||||
};
|
||||
|
||||
export default findMessage;
|
||||
|
Reference in New Issue
Block a user