mirror of
https://codeberg.org/streams/streams.git
synced 2024-09-19 21:55:15 +00:00
update util/hz to use zot api instead of the (now optional) twitter api
This commit is contained in:
parent
bb85e139f1
commit
9d49faca61
1 changed files with 1 additions and 1 deletions
2
util/hz
2
util/hz
|
@ -33,6 +33,6 @@ echo "enter your message to be posted as $USER @ $HUB, then hit Ctrl-D to send."
|
|||
|
||||
MSG=$(cat)
|
||||
|
||||
curl -ssl -u${USER}:${PASS} --data-urlencode "status=${MSG}" https://${HUB}/api/statuses/update
|
||||
curl -ssl -u${USER}:${PASS} --data-urlencode "body=${MSG}" https://${HUB}/api/z/1.0/item/update
|
||||
|
||||
|
||||
|
|
Loading…
Reference in a new issue