diff --git a/run.sh b/run.sh index 6ca82d5..b96fdee 100755 --- a/run.sh +++ b/run.sh @@ -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" }