dfgf
This commit is contained in:
parent
9ba9b9cc8c
commit
9ce0ef483c
1 changed files with 1 additions and 1 deletions
|
@ -204,7 +204,7 @@ function mark_as_read {
|
|||
# wenn NICHT leer
|
||||
# sed wandelt 123 345 456 in 123, 245, 345 um.
|
||||
if [[ -n "$marked_entries" ]]; then
|
||||
curl --request PUT --silent --header "X-Auth-Token: $MF_AUTH_TOKEN" --header "Content-Type: application/json" --data "{\"entry_ids\": [$(echo "$marked_entries" | xargs -n1 | sort -u | xargs | sed -r 's/\s/\, /g')], \"status\": \"read\"}" "$MF_API_URL/entries"
|
||||
curl --request PUT --silent --header "X-Auth-Token: $MF_AUTH_TOKEN" --header "Content-Type: application/json" --data "{\"entry_ids\": [$(echo "$marked_entries"], \"status\": \"read\"}" "$MF_API_URL/entries"
|
||||
# gebe entry-titel aus
|
||||
for i in $(echo "$marked_entries" | xargs -n1 | sort -u | xargs); do
|
||||
# gebe aus welcher eintrag gefiltert wurde, cut begrenzt die maximale laenge auf 100 zeichen
|
||||
|
|
Loading…
Reference in a new issue