mirror of
https://github.com/thorsten-gehrig/alexa-remote-control.git
synced 2025-11-10 18:52:41 +01:00
Fixed raw JQ
This commit is contained in:
@@ -574,7 +574,7 @@ check_status()
|
||||
|
||||
case $AUTHSTATUS in
|
||||
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
|
||||
;;
|
||||
401|403)
|
||||
|
||||
Reference in New Issue
Block a user