mirror of
https://github.com/thorsten-gehrig/alexa-remote-control.git
synced 2025-11-10 10:52:40 +01:00
Fixed raw JQ
This commit is contained in:
@@ -574,7 +574,7 @@ check_status()
|
|||||||
|
|
||||||
case $AUTHSTATUS in
|
case $AUTHSTATUS in
|
||||||
200)
|
200)
|
||||||
MEDIAOWNERCUSTOMERID=$(${CURL} ${OPTS} -s -b ${COOKIE} -A "${BROWSER}" -H "DNT: 1" -H "Connection: keep-alive" -L https://${ALEXA}/api/users/me | ${JQ} '.id')
|
MEDIAOWNERCUSTOMERID=$(${CURL} ${OPTS} -s -b ${COOKIE} -A "${BROWSER}" -H "DNT: 1" -H "Connection: keep-alive" -L https://${ALEXA}/api/users/me | ${JQ} -r '.id')
|
||||||
return 1
|
return 1
|
||||||
;;
|
;;
|
||||||
401|403)
|
401|403)
|
||||||
|
|||||||
Reference in New Issue
Block a user