You've already forked miniflux_lwn
avoid sub jo for array
This commit is contained in:
2
run.sh
2
run.sh
@ -21,7 +21,7 @@ process() {
|
|||||||
|
|
||||||
echo "Marking as unread. entry: $eid title: $title"
|
echo "Marking as unread. entry: $eid title: $title"
|
||||||
curl --fail -s -X PUT "$MURL/v1/entries" \
|
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"
|
-H "X-Auth-Token: $MINIFLUX_TOKEN"
|
||||||
|
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user