avoid sub jo for array

This commit is contained in:
2025-07-03 15:34:33 -04:00
parent 13a79f0d34
commit ccc633f4b0

2
run.sh
View File

@ -21,7 +21,7 @@ process() {
echo "Marking as unread. entry: $eid title: $title"
curl --fail -s -X PUT "$MURL/v1/entries" \
--json "$(jo entry_ids="$(jo -a "$eid")" status=unread)" \
--json "$(jo "entry_ids[]=$eid" status=unread)" \
-H "X-Auth-Token: $MINIFLUX_TOKEN"
}