You've already forked miniflux_lwn
Fix Quoting problem in title
Add jo as dependency. Fix crash with below title [$] Libxml2's "no security embargoes" policy Updates
This commit is contained in:
4
run.sh
4
run.sh
@ -16,12 +16,12 @@ process() {
|
||||
|
||||
echo "Updating title. entry: $eid title: $title"
|
||||
curl --fail -o /dev/null -s -X PUT "$MURL/v1/entries/$eid" \
|
||||
--json "$(printf '{"title":"%s"}' "${title/$/✓}")" \
|
||||
--json "$(jo title="${title/$/✓}")" \
|
||||
-H "X-Auth-Token: $MINIFLUX_TOKEN"
|
||||
|
||||
echo "Marking as unread. entry: $eid title: $title"
|
||||
curl --fail -s -X PUT "$MURL/v1/entries" \
|
||||
--json "$(printf '{"entry_ids":[%s],"status":"unread"}' "$eid")" \
|
||||
--json "$(jo entry_ids="$(jo -a "$eid")" status=unread)" \
|
||||
-H "X-Auth-Token: $MINIFLUX_TOKEN"
|
||||
|
||||
}
|
||||
|
Reference in New Issue
Block a user