I made a minor change in Drafts. It works but, is it correctly written?
I installed Add To Lists a two step action in Drafts
This action is used to append items to running lists in Drafts. Useful for things like capturing movies you want to watch or stuff to pick up at the grocery store.
It appends to the bottom of the selected list.
The first step as downloaded.
const listTag = ‘lists’;
// true to append
// false to prepend
const appendItem = true;
I changed it to put items at the top of the list.
const listTag = ‘lists’;
// true to preappend
// false to append
const appendItem = false;
This works but… Is the last line the way to go?