Trying to figure out if I can rename an Insomnia action via plug-in? Below is my action defined.
module.exports.requestActions = [
{
label: 'Skip/Unskip - ExS',
action: async (context, data) => {
// Rename data.request
},
}
];
Manipulating data.request.name do show the changes but is highly inconsistent in behavior.
data.request.name = 'Changed name'
For example, change name Get Employee to Get Employee 1 works. When I work on a requestGroupActions event, request do show up the changed name.
But when I change the name back to Get Employee, still it do up as Get Employee 1 in event of requestGroupActions.
Also can I use React in Insomnia plugin?
Thanks.